SUMMARY When the screen is rotated the touch inputs get rotated. The same thing should happen for pen inputs. STEPS TO REPRODUCE Rotate the screen in system settings and try to use the pen. OBSERVED RESULT The input seems to get scaled to the new width and height but not rotated. If I for example turn the convertible 90 degrees to the left and the screen 90 degrees right in the system settings and put the pen on the now low side of the display it will be recognized as being on the left. EXPECTED RESULT The pen input should also be rotated. SOFTWARE/OS VERSIONS Windows: - macOS: - Linux/KDE Plasma: Manjaro KDE KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.72.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION Tested on a HP Envy x360
Is this a Wacom pen? The Wacom KCM might have a feature to detect/configure rotation, according to https://invent.kde.org/system/wacomtablet/-/commit/5f42c2174935d7a0a35e7f8a39ed599f9e3ef8d6 If you don't have it installed, please ask in a forum of your distribution for the package name of https://invent.kde.org/system/wacomtablet
I have the same behaviour here on a Surface Pro 3: Linux: Arch-Linux Plasma: 5.19.3 (Wayland) Frameworks: 5.72.0 Qt: 5.15.0 To answer Christoph Feck, the Wacom KCM does not seem to work under a Wayland session (and only the Wayland session features automatic screen rotation). Zamundaaa added the keyword Wayland to this bug report, so I assume they were also on a Wayland session.
My pen/tablet is not from Wacom and yes, I'm on Wayland, so that would be irrelevant either way (the wacom driver is only for X)