Bug 462247

Summary: Tablet custom drawing area Y offset gets reset when new output has a different resolution
Product: [Applications] systemsettings Reporter: Sebastian Parborg <sebastian>
Component: kcm_tabletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, josh, nate
Priority: NOR    
Version First Reported In: 5.26.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video of the custom drawing area reseting

Description Sebastian Parborg 2022-11-25 18:10:12 UTC
Created attachment 154029 [details]
Video of the custom drawing area reseting

SUMMARY
When changing which output to map the tablet to, the Y offset of the drawing area gets reset if the output resolution changes.


STEPS TO REPRODUCE
1. Setup a custom tablet drawing area
2. Change the output screen to map to
3. Notice that if the output resolution that we map to changes, the Y offset gets reset (but not the X offset)

(See the attached video)

OBSERVED RESULT
The custom area snaps to the top of the output when switching between them

EXPECTED RESULT
I think that each output should probably have their own settings stored as there will probably be some cases where users would want to switch between them and have different settings for each output.

However I realize that this is a bit out of scope of the report, so simply just not reseting the relative Y offset position is what I would expect.

SOFTWARE/OS VERSIONS

Linux: Gentoo Linux
KDE Plasma Version:  5.26.3
Qt Version: 5.15.5