STEPS TO REPRODUCE 1. Open Firefox with Wayland enabled 2. mark text with the pen OBSERVED RESULT THe pen input is offset by the title bar. Once I set the window to have no borders it works just fine. Xournal++ is also affected but for some reason Krita is not. EXPECTED RESULT THe position of the pen on the screen and in the applications should match. SOFTWARE/OS VERSIONS Windows: - macOS: - Linux/KDE Plasma: Manjaro KDE with the plasma-git packages KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.72 Qt Version: 5.15 ADDITIONAL INFORMATION Tested on a HP Envy x360
Okular and Dolphin also affected, so it's safe to say it's a general problem and not the fault of the tested applications
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/96
The patch makes it work properly. Thanks!
Git commit 311094ad8be4c76df2a4655fe71e7085fa9c4e14 by Aleix Pol. Committed on 04/07/2020 at 16:40. Pushed by vladz into branch 'Plasma/5.19'. Make sure tablet coordinates take decorations into account Fixes a small awkward offset on some applicaitons. M +2 -2 input.cpp https://invent.kde.org/plasma/kwin/commit/311094ad8be4c76df2a4655fe71e7085fa9c4e14
Git commit 89fca06bdb2696129a241ab02a4dddba483c46a2 by Aleix Pol Gonzalez, on behalf of Aleix Pol. Committed on 08/07/2020 at 15:20. Pushed by apol into branch 'master'. Make sure tablet coordinates take decorations into account Fixes a small awkward offset on some applicaitons. (cherry picked from commit 311094ad8be4c76df2a4655fe71e7085fa9c4e14) M +2 -2 input.cpp https://invent.kde.org/plasma/kwin/commit/89fca06bdb2696129a241ab02a4dddba483c46a2