Bug 405045

Summary: Moving mouse over panel warps pointer to edge of screen while axes reversed
Product: [Plasma] plasmashell Reporter: Subramaniyam Raizada <kde>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.15.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video of bug

Description Subramaniyam Raizada 2019-03-03 20:27:33 UTC
Created attachment 118517 [details]
Video of bug

SUMMARY
I reported this as a Latte Dock bug at https://bugs.kde.org/show_bug.cgi?id=404979, but it affects Plasma panels.

When a panel is set to Auto Hide and cursor axes are reversed via libinput, moving the cursor to the panel to reveal the panel will teleport the cursor to the top left of the screen. Once the panel becomes visible, it can be interacted with normally, but the process of revealing the panel makes the cursor teleport.

When the panel visibility is set to Windows Can Cover, revealing the panel triggers the bug. When the visibility is Always Visible or Windows Go Below, the panel is never revealed so the bug does not occur.

If the panel is made visible and then the cursor is quickly moved onto the panel (before it auto-hides again) it can be interacted with normally, but once the cursor is removed from the panel and the panel auto-hides, revealing the panel will teleport the cursor again.

STEPS TO REPRODUCE
1. Run `xinput list` to get your mouse/touchpad device ID, run `xinput set-prop ID "Coordinate Transform Matrix" -1 0 0 0 -1 0 0 0 1` to invert the pointer x/y axes.
2. Move cursor onto a hidden panel to reveal it.

OBSERVED RESULT
Cursor teleports to top left of screen.

EXPECTED RESULT
Cursor should move onto panel.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch; latte-dock 0.8.7
KDE Plasma Version: 5.15.2-1
KDE Frameworks Version: 5.55.0-1
Qt Version: 5.12.1-1

ADDITIONAL INFORMATION
A screen recording of this is attached.
Comment 1 Subramaniyam Raizada 2019-03-03 20:27:50 UTC
*** Bug 404979 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2022-06-25 19:33:25 UTC
> cursor axes are reversed via libinput
What does this mean exactly? How did you accomplish this?
Comment 3 Bug Janitor Service 2022-07-10 04:37:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-07-25 04:36:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!