Bug 453864 - Drawing tablet cursor offsets from actual clicking/hovering position when Global Scaling set to anything other than 100%
Summary: Drawing tablet cursor offsets from actual clicking/hovering position when Glo...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.24.5
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-05-16 02:50 UTC by Tyson Tan
Modified: 2022-05-28 11:51 UTC (History)
2 users (show)

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


Attachments
Screenshot of graphics tablet cursor offsets from actual clicking position in Dolphin (125.70 KB, image/png)
2022-05-18 06:49 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2022-05-16 02:50:55 UTC
When I set the Global scaling to anything other than 100%, my drawing tablet's cursor is not where the actual clicking/hovering position is.

For example, I'm using a Cintiq Pro 24, which is a 4K pen display. When I set the global scaling to 125%, the actual clicking/hovering position of my stylus offsets about 10-20cm lower than the cursor on screen.

I began to notice this bug after the lastest KDE/Qt stack update. But I also only changed the global scaling for the firtst time at the same day, so I couldn't be too sure.

The bug is affecting all KDE apps and Plasma system apps, including Dolphin, Konsole, Systemsettings and such. It doesn't affect Krita's the official appimage build.

Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 Nate Graham 2022-05-16 18:32:48 UTC
Are you using the X11 session or the Wayland session?
Comment 2 Tyson Tan 2022-05-17 01:35:07 UTC
X11
Comment 3 Tyson Tan 2022-05-18 06:49:23 UTC
Created attachment 148939 [details]
Screenshot of graphics tablet cursor offsets from actual clicking position in Dolphin

4K screen, 150% scaling. Notice how the cursor offsets from the dragging area.

I tried on a Plasma Wayland session, it did not have this bug, but tablet support is still pretty broken.
Comment 4 Zamundaaa 2022-05-28 11:51:24 UTC
Works fine here.
As KWin doesn't do any input routing on X11 and the Krita build works fine, I assume it must be a Qt bug