Wacom pen's buttons are swapped under Wayland
Categories
(Core :: Widget: Gtk, defect, P1)
Tracking
()
People
(Reporter: matban, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: helpwanted)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
Steps to reproduce:
I mostly use a Wacom tablet instead of a mouse. My Wacom pen has 2 buttons on the side (i.e., in addition to the tip and eraser). In Linux, in Gnome (v49 in Ubuntu 25.10) settings, you can configure actions for these buttons: for example, the 1st button to act as a middle click, the 2nd button to act as a right click.
Actual results:
Under Wayland in Firefox actions of these buttons are swapped: when I configure in Gnome the 1st button as the middle click and the 2nd button as the right click, in Firefox the 1st button triggers the right click, the 2nd button triggers the middle click. When I configure the 1st button as the right click and the 2nd buttons as the middle click, in Firefox the 1st button triggers the middle click, the 2nd button triggers the right click.
Expected results:
The buttons should act as configured in the Gnome's settings. They act correctly under X11, and in all applications I tested except for Firefox and Thunderbird.
| Reporter | ||
Comment 1•10 months ago
|
||
The same problem is in Thunderbird: bug 2012497
(I had to select "Product" and I don't know how to select both in the same bug, so I submitted a separate bug).
| Reporter | ||
Updated•10 months ago
|
| Reporter | ||
Comment 2•10 months ago
|
||
As the problem is both in Firefox and Thunderbird, I moved the bug to "Product: Core".
Comment 4•10 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Comment 5•10 months ago
|
||
On Wayland but after forcing Firefox to use XWayland the buttons act correctly (i.e., the same as configured in the Gnome's settings). It seems the problem is only when Firefox (and Thunderbird) use the Wayland window protocol.
Comment 6•10 months ago
|
||
Would be great if anyone with the tablet can look at it.
Updated•10 months ago
|
Description
•