abrt / gnome-abrt

ABRT oopses list designed according to https://live.gnome.org/Design/Apps/Oops
GNU General Public License v3.0
18 stars 21 forks source link

Impossible to deselect from multiple selections #130

Open cosimoc opened 9 years ago

cosimoc commented 9 years ago

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.

jfilak commented 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?

mcatanzaro commented 9 years ago

Michael has never used GtkListBox before, and is impressed he's tricked someone into thinking he's a GTK+ expert.

hadess commented 9 years ago

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.

mhabrnal commented 9 years ago

There is Gnome bugzilla related to this issue https://bugzilla.gnome.org/show_bug.cgi?id=749252

ernestask commented 5 years ago

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).