Open cosimoc opened 9 years ago
Thank you for taking the time to report this issue. However, I'm afraid this issue needs to be fixed in GtkListBox. What our Gtk experts @hadess and @mcatanzaro think about it?
Michael has never used GtkListBox before, and is impressed he's tricked someone into thinking he's a GTK+ expert.
From the GtkListBox docs:
When the box is using GTK_SELECTION_MULTIPLE, this signal will not give you the full picture of selection changes, and you should use the “selected-rows-changed” signal instead.
That might be a first step. If that doesn't fix it, a test case (in C) would be useful.
There is Gnome bugzilla related to this issue https://bugzilla.gnome.org/show_bug.cgi?id=749252
Unsetting GtkListBox:activate-on-single-click
allows modifying the selection, but then you have to press modifiers to do that (ctrl to modify, shift to extend). Good news for touch screen users, however: the behavior is to modify the selection by default (ctrl modifier behavior is inverted).
When the selection button on top of the sidebar is toggled on, it becomes possible to select multiple reports by clicking on them. However, clicking on them a second time will not deselect them.