Bug 408001

Summary: On X11, mouse jumps on autohidden panel when xinput property "Coordinate Transformation Matrix" is changed
Product: [Plasma] plasmashell Reporter: andre+kde
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: cyberbeat, nate, niccolo, trryy
Priority: VLO Keywords: X11-only
Version: 5.18.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screen record showing the bug in effect

Description andre+kde 2019-05-27 16:34:38 UTC
Created attachment 120346 [details]
screen record showing the bug in effect

SUMMARY
When xinput property "Coordinate Transformation Matrix" of a mouse is changed to "2 0 0 0 2 0 0 0 1", mouse x and y movement is "accelerated" as expected. But when the pointer is moved over a auto hidden panel, the pointer gets shifted by a double the distance it is currently away from top/left edge

STEPS TO REPRODUCE
1. in current KDE session
2. add pannel, set visibility to "auto hide"
3. open a shell
4. get list of input devices: xinput list
5. get list of properties of a selceted mouse: xinput list-props <DEVID>
6. set "Coordinate Transformation Matrix" on mouse: input set-prop <DEVID> <ATTRID> 2 0 0 0 2 0 0 0 1
7. move pointer on the panel and out again.

(1 0 0 0 1 0 0 0 1 reverts step 6)


OBSERVED RESULT
on left/right edge panels pointer gets moved down, on bottom/top panels it gets moved right

EXPECTED RESULT
Mouse comes in exectly at the same spot, it was moved on the edge.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58
Qt Version: 5.12.3
Xorg-X11 1.20.4
xinput 1.6.2

ADDITIONAL INFORMATION
Comment 1 Filys 2020-11-30 15:30:55 UTC
This bug is still happening in:
KDE Plasma 5.18.5 
Qt: 5.12.8
KDE Frameworks: 5.68.0
kf5-config: 1.0

And also when "Coordinate Transformation Matrix" is changed to any values other than 1 (i.e 0.7 0 0 0 0.7 0 0 0 0.7)
Comment 2 TraceyC 2025-02-24 17:59:14 UTC
Adding the x11-only keyword
Comment 3 Niccolò Venerandi 2025-03-12 16:29:24 UTC
Does this happen with any screen edge effect? (See the screen edges system setting section to set them up)
Comment 4 Bug Janitor Service 2025-03-27 03:46:42 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 andre+kde 2025-03-29 08:03:33 UTC
It still happens with 
KDE Plasma 6.3
KDE Framework 6.12

It makes no difference if I have "screen edges" configured or none