GNOME Bugzilla – Bug 72043
reordering rows emits bogus selection_changed
Last modified: 2006-05-28 13:04:51 UTC
if i have a tree view with selection set to BROWSE and i set it as reorderable, when i do a dnd to reorder it, i get a selection changed callback with no rows selected this shouldn't happen in BROWSE mode.
After a bit of discussion, we decided to not make the tree reselect items. As a result, you need to make sure that BROWSE is always selected. The only thing BROWSE guarantees is that the user can't unselect rows.
i believe the discussion was for the case of an app removing a row explicitely. for dnd the same rows should still be selected before and after the dnd. reopening.
Moving remaining 2.0.1 bugs to 2.0.2 milestone.
Move open bugs from milestones 2.0.[012] -- > 2.0.3, since 2.0.2 is already out.
If you reorder a row, the DnD code will remove the row and then add it at the new place. Because of this ::selected_changed gets emitted. I dont see a way to get around this, as you cant just move the row and emit ::rows_reordered in trees (as ::rows_reordered only covers single levels), you can in lists though.
Reassigning bugs to new component owner. Sorry for the flood.
Moving some 2.0.4 bugs to 2.0.7
Moving bugs from older 2.0.x milestones to 2.0.10.
Not sure what to do here, will ask jrb. Putting on future for now.
*** Bug 158613 has been marked as a duplicate of this bug. ***
Bug 158613 was marked as a dup of this bug, because of the delete-insert pair 'problem' with DnD. I am not really sure if having rows_reordered handle multiple levels of nodes (we would need a new signal for this) is a good idea.