DynamicNotebook emits no signal for tabs moved between notebooks.
Bug #1066578 reported by
gue5t gue5t
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Fix Released
|
Medium
|
Niclas Lockner | ||
Midori Web Browser |
Invalid
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
Create two dynamic notebooks with the same group name.
Connect simple printing handlers to all signals of the notebooks (tab_added, tab_removed, tab_switched, tab_moved, tab_duplicated).
Drag a tab between the two notebooks and watch as no tab_moved or other relevant signal is emitted.
A tab_moved signal /is/ emitted if the tab is dragged into empty space, or into a different location in the same notebook. The only signal that gets emitted is tab_switched, which can technically be used with some additional logic to infer that a tab was added, but this is not the right way to do it.
Related branches
lp:~niclasl/granite/new-dn-api
- David Gomes (community): Approve
- Mario Guerriero: Pending requested
-
Diff: 598 lines (+168/-121)2 files modifieddemo/GraniteDemo.vala (+14/-8)
lib/Widgets/DynamicNotebook.vala (+154/-113)
Changed in granite: | |
assignee: | nobody → Niclas Lockner (niclasl) |
status: | New → In Progress |
Changed in granite: | |
milestone: | none → isis-beta1 |
importance: | Undecided → Medium |
Changed in granite: | |
status: | In Progress → Fix Released |
Changed in midori: | |
status: | New → Invalid |
To post a comment you must log in.