Bug 466612

Summary: Touch Screen Inputs are always Several Pixel Up from where I Touch Them
Product: [Applications] krita Reporter: patrickgarraud44
Component: Tablets (tablet issues are only very rarely bugs in Krita!)Assignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: shzam
Priority: NOR    
Version First Reported In: 5.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Information from the Kirta Bug Report Box

Description patrickgarraud44 2023-02-28 17:14:36 UTC
Created attachment 156834 [details]
Information from the Kirta Bug Report Box

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Krita and tap on any menu option with either a touchscreen or a stylus

OBSERVED RESULT
Krita will register my press as several pixels up from where I actually pressed it. This doens't happen when I click a menu item with my mouse, nor does this issue occur in any other application. Drawing on the canvas is also not effected by this bug. When I draw on the canvas, my movements are measured exactly where my stylus is.

EXPECTED RESULT
The menu item I touch on is selected.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 22.04.1 LTS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 sh_zam 2023-03-01 06:08:52 UTC
We had a bug like this on Android, it was due to Qt's implementation of Android plugin. Something similar may be happening with your platform plugin, since it is XWayland. But I'm not fully sure.