Bug 512495 - Stylus side buttons are swapped in Chromium (Wayland)
Summary: Stylus side buttons are swapped in Chromium (Wayland)
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (other bugs)
Version First Reported In: 6.3.6
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-23 02:20 UTC by Tyson Tan
Modified: 2025-12-13 13:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2025-11-23 02:20:53 UTC
SUMMARY
In a Wayland session, the side buttons of a graphics tablet stylus are swapped in Chromium. I use the default arrangement: Lower button for Right-click, Upper button for Middle-click. Things work as intended in pretty much everything except Chromium -- it becomes Lower button for Middle-click, Upper button for Right-click for some reason.

I'm reporting this based on a Huion Kamvas 16 Gen 3 with Opentabletdriver. I will attach more information with Wacom devices with linuxwacom in later comments.

STEPS TO REPRODUCE
1. Login to a Wayland session
2. Click on desktop using the stylus buttons
3. Click in Chromium using the stylus buttons

OBSERVED RESULT
The functions of the side buttons are swapped only in Chromium.

EXPECTED RESULT
The functions of the side buttons are the same as in other places.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.17.1-0-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 1 Tyson Tan 2025-11-23 02:28:26 UTC
Same problem happens with Wacom One 13 Touch with linuxwacom driver. So it is not hardware/driver related.
Comment 2 David Edmundson 2025-11-24 10:23:59 UTC
Can you report this to Chrome please and then link back here. It doesn't sound like there's an issue our end.
Comment 3 Tyson Tan 2025-12-13 13:15:32 UTC
Reported to Chromium: https://issues.chromium.org/issues/468458732