http://bugs.winehq.org/show_bug.cgi?id=12094
Summary: mouse side buttons do not work in wine when mapped to gtk/qt standard Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: aagaande@gmail.com
I recently realized my "back" button in firefox wasn't working, looked into it and it has been remapped to mouse button 8 (back) and 9 (forward).
I found https://bugzilla.mozilla.org/show_bug.cgi?id=355477 on the subject, quoting: "I'm attaching a simple patch that maps X mouse buttons 8-9 to the back/forward commands. The consensus amongst GTK+ and Qt seems to be that buttons 6-7 are for horizontal scrolling."
However, in WINE (specifically using world of warcraft) if I can't bind mouse4/mouse5 (what wow calls my side buttons) if I use this standard.
With this: xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9" (standard) Firefox back/forward works perfectly, but the side mouse buttons do not register in wow at all.
xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7" I can bind my side buttons in wow, they register as "button4/button5" in wow, in xev they register as 6 7. However my back button in gtk applications stops working.
http://bugs.winehq.org/show_bug.cgi?id=12094
Peter Henriksson peter.henriksson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.henriksson@gmail.com
--- Comment #1 from Peter Henriksson peter.henriksson@gmail.com 2008-04-28 11:21:36 --- I can confirm this.
With xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10" my side button works for back in Firefox. xev registers this as button 8. Counter-Strike (1.6) doesn't register this button at all.
With xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10" the side button doesn't work in Firefox. In this mode xev registers it as button 7 and Counter-Strike as MOUSE4.
http://bugs.winehq.org/show_bug.cgi?id=12094
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Dan Kegel dank@kegel.com 2008-04-28 13:37:56 --- Users seem to feel strongly about this feature, see http://linuxlock.blogspot.com/2008/04/mouse-that-roared.html
Confirming per Peter's comment.
http://bugs.winehq.org/show_bug.cgi?id=12094
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-11 13:58:21 --- Not default with my setup. And never was default ever since X started to support those side buttons.
So if some one feels like breaking everything else in favor of new broken configuration they can add an option to winex11.drv for this. With default being where it should be - the way it is now.
http://bugs.winehq.org/show_bug.cgi?id=12094
--- Comment #4 from Anders Aagaard aagaande@gmail.com 2008-05-13 07:04:53 --- Well I dont think mozilla would have accepted the patch unless GTK/QT was moving towards that standard (as the bug claims).
Googling around a bit trying to link it to xorg, but the only thing I found on that was that the xorg-server apple branches atleast has a specific patch for this ( commit 96459ad45daf2e1b4a801c8506274a4da23abc5b "add support for horizontal scrolling (buttons 6 and 7)" ).
So in lack of a better reason, there must be a reason why mozilla accepted it :p
http://bugs.winehq.org/show_bug.cgi?id=12094
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-05-21 04:46:59 --- Created an attachment (id=13210) --> (http://bugs.winehq.org/attachment.cgi?id=13210) Add buttons 8 and 9
For now you could try something like this.
http://bugs.winehq.org/show_bug.cgi?id=12094
--- Comment #6 from Peter Henriksson peter.henriksson@gmail.com 2008-05-21 13:37:42 --- The patch works fine for me. Tested with 1.0-rc1. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=12094
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-05-23 05:49:28 --- Fix is committed.
http://bugs.winehq.org/show_bug.cgi?id=12094
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2008-05-23 10:38:08 --- Closing bugs fixed in 1.0-rc2.