After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673441 - GtkTreeView should not handle extra mouse buttons
GtkTreeView should not handle extra mouse buttons
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks: 660006
 
 
Reported: 2012-04-03 14:51 UTC by Nelson Benitez
Modified: 2012-04-04 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Let extra mouse button events to bubble up (1.11 KB, patch)
2012-04-03 14:56 UTC, Nelson Benitez
committed Details | Review

Description Nelson Benitez 2012-04-03 14:51:17 UTC
Hi,
GtkTreeView button_press callback should not handle mouse button events greater than 5, as that are special mouse buttons that the application could be using for extra functionality, like nautilus that use them for the actions 'go forward' and 'go backwards', and that is currently not working in nautilus list view because gtktreeview button_press handler don't let them bubble up (i.e. is not returning FALSE for those).

I'm attaching a patch for this and also marking this bug as blocking the aforementioned nautilus bug.

Regards,
Comment 1 Nelson Benitez 2012-04-03 14:56:33 UTC
Created attachment 211231 [details] [review]
Let extra mouse button events to bubble up
Comment 2 Cosimo Cecchi 2012-04-03 15:25:12 UTC
Review of attachment 211231 [details] [review]:

Benjamin ACKed this on IRC, so feel free to go ahead and commit!
Comment 3 Nelson Benitez 2012-04-04 15:08:00 UTC
Committed.