Bug 440544

Summary: Pen (stylus) Input not working correctly
Product: [Applications] kcalc Reporter: Basti <baschi29>
Component: generalAssignee: Evan Teran <evan.teran>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Basti 2021-08-03 08:22:48 UTC
SUMMARY
Using KCalc with a stylus isn't working correctly. As long as the KCalc windows is not moved from where it was created, everything is working as expected. But aus you move the window away, there I a offset created so that it isn't possible anymore to directly click the button. Normal touch input still works.
No other programs show this behavior.

STEPS TO REPRODUCE
1. Start KCalc
2. KCalc starts in the top left corner
3. Try clicking on a button with the stylus -> works
4. Move the KCalc window to somewhere else.
5. Try clicking on a button with the stylus -> does not work

OBSERVED RESULT
In step 3 the input is working as expected, in step 5 the button does not get clicked, but instead something else in the KCalc window. (with a seemingly fixed offset)

EXPECTED RESULT
Clicking on a button with a stylus should click the button, even when the window was moved

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-25-generic
OS Type: 64-bit