Bug 452907

Summary: Kmag garbled and glitched with two monitors
Product: [Applications] kmag Reporter: sashaa
Component: generalAssignee: Anton Anikin <anton>
Status: RESOLVED FIXED    
Severity: normal CC: anton, gaelle.stirchler
Priority: NOR    
Version First Reported In: 22.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 22.12
Sentry Crash Report:

Description sashaa 2022-04-23 12:27:19 UTC
SUMMARY
***
Kmag output is glitched with two monitors active, also it shows my primary monitor when my cursor is on the secondary monitor. This doesn't happen if I have one monitor active or if my secondary monitor is on the right instead of the left. I'm using MATE on Xorg. The primary monitor is 1080p 165hz and the secondary is 1440x900 60hz.
***


STEPS TO REPRODUCE
1. Have two monitors with the secondary one on the left
2. Open KMag

OBSERVED RESULT
Kmag output doesn't look right

EXPECTED RESULT
Kmag magnifies area that cursor is on and there are no graphical glitches.

SOFTWARE/OS VERSIONS
Linux: Arch Linux 5.15.31.38.realtime1-1-rt-lts
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Comment 1 sashaa 2022-04-23 14:59:42 UTC
I installed 21.12.3 version of kmag and it works fine so this has been introduced after that.
Comment 2 Anton Anikin 2022-11-01 05:18:05 UTC
*** Bug 457416 has been marked as a duplicate of this bug. ***
Comment 3 Anton Anikin 2022-11-01 05:20:35 UTC
My fix is ready for review: https://invent.kde.org/accessibility/kmag/-/merge_requests/6