Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to deselect from multiple selections #130

Open
cosimoc opened this issue May 20, 2015 · 5 comments
Open

Impossible to deselect from multiple selections #130

cosimoc opened this issue May 20, 2015 · 5 comments
Labels

Comments

@cosimoc
Copy link

cosimoc commented May 20, 2015

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
Copy link
Contributor

jfilak commented May 20, 2015

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
Copy link
Contributor

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

@hadess
Copy link
Contributor

hadess commented May 20, 2015

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
Copy link

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

@xsuchy xsuchy added the bug label May 11, 2017
@ernestask
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants