linuxwacom / xf86-input-wacom

X.Org driver for Wacom devices
356 stars 45 forks source link

Cannot use 'pan' mode of a button to scroll in Qt applications #333

Closed UlyssesZh closed 7 months ago

UlyssesZh commented 7 months ago

I don't know whether this is a Qt bug or not, but it was not mentioned in #93 or known issues. This can be reproduced in any Qt application, whether #93 can be reproduced or not.

To reproduce, run

xsetwacom --set 'Wacom Some Model stylus' Button 2 'pan'

Expectedly, this command makes me able to use the secondary button as the mouse scroll wheel. However, it does not work in Qt applications. Using the secondary button simply does not do anything.

I can reproduce this bug in VLC 3.0.9.2, OBS 29.1.3, Kdenlive 23.08.1, VirtualBox 7.0.12, and other Qt applications. Using the QT_XCB_TABLET_LEGACY_COORDINATES env variable does not fix the problem.

Other env info:

Whether this is a Qt bug or not, could you please tell me a workaround for now?

UlyssesZh commented 7 months ago

Duplicate of #247.