Bug 491956 - Touchscreen area does not resize appropriately when screen resolution's aspect ratio
Summary: Touchscreen area does not resize appropriately when screen resolution's aspec...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: libinput (show other bugs)
Version: 6.1.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 21:53 UTC by Troy Dawson
Modified: 2024-08-20 22:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Dawson 2024-08-20 21:53:33 UTC
SUMMARY
When you change the resolution of your screen, the touchscreen does not change with it.  This causes you touches to be places you are not expecting.
Note:  This does not happen when you re-scale your display, only when you change the resolution.

STEPS TO REPRODUCE
1. Start with a normal Plasma 6 install on a machine with a touchscreen.
2. Change the resolution.  Possibly most important, change the aspect ratio (16:9) -> (5:4)
3. Try touching things, especially things not in the center of the screen.  I have found that using the onscreen keyboard is the easiest way to see this, because it highlights the keys that are pushed.  But it is not related to the keyboard.

OBSERVED RESULT
Depending on how dramatic the resolution change, and how far off center (both horizontal and vertical) I am touching, where I am touching, and where my desktop thinks I'm touching can be wayyy off.

EXPECTED RESULT
The desktop should think I am touching where I am touching.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora 40 and 41 (Rawhide)
KDE Plasma Version: 6.1.3 and 6.1.4
KDE Frameworks Version: 6.4.0 and 6.5.0
Qt Version: 6.7.2
Kernel: 6.9.9 and 6.11.0-rc3

ADDITIONAL INFORMATION
Everything I have tested has been running Wayland.
Comment 1 Nate Graham 2024-08-20 22:06:18 UTC
Can confirm the issue.