Bug 483845

Summary: Cursor shaking up and down when moving horizontally on Plasma 6 on Wayland
Product: [Plasma] kwin Reporter: Demanu <rafal.zuchnik>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: fanzhuyifan
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Overview
libinput debug-events log

Description Demanu 2024-03-17 16:57:51 UTC
SUMMARY
Since upgrading Plasma from 5.27 to 6.0.2, the cursor shakes vertically when moving it horizontally using the touchpad (it acts normally when moving the cursor vertically). It does not return to the position where it should be. This doesn’t happen when using an external mouse. The shaking is very noticeable and makes it very difficult to hit the desired element on the screen.

STEPS TO REPRODUCE

Moving the cursor horizontally
OBSERVED RESULT
The cursor moves vertically (up and down) only during horizontal movements.

EXPECTED RESULT
The cursor moves steadily in a straight line without any vertical deviation.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse Tumbleweed
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Laptop model: Asus TUF FX505DT
Comment 1 Demanu 2024-03-17 17:39:54 UTC
Created attachment 167378 [details]
Overview
Comment 2 Vlad Zahorodnii 2024-03-18 10:14:03 UTC
Please run `sudo libinput debug-events > log.txt`, move the cursor horizontally, and then attach log.txt to the bug report
Comment 3 Demanu 2024-03-18 10:37:21 UTC
Created attachment 167404 [details]
libinput debug-events log

I'm adding log from libinput debug-events as requested
Comment 4 fanzhuyifan 2024-03-19 17:51:08 UTC
The pointer motion events reported by libinput has a lot of vertical offset even though it is moved horizontally. So this is an upstream issue, maybe in libinput, maybe in the driver.