Bug 473451

Summary: On X11, the mouse cursor, when switching states, tends to glitch
Product: [Plasma] kwin Reporter: unixstuff
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description unixstuff 2023-08-16 13:35:04 UTC
SUMMARY
In essence, the bug is exactly the same as https://bugs.kde.org/show_bug.cgi?id=447797, but now it appears as if it happens on X11 as well, where it used to only on Wayland.
Whenever the mouse cursor has to switch the state (when inputting text, selecting, etc.) it temporarily glitches out – moves slightly to the side and looks as if it has some kind of tearing.
It would be nice, visually, even if this is an upstream bug, for there to be a workaround.

STEPS TO REPRODUCE
1. Switch to X11 session
2. Move the cursor over any object in any application which has to change the state

OBSERVED RESULT
The cursor moves in one direction and experiences visual tearing while switching states.

EXPECTED RESULT
The cursor state should smoothly change, without tearing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12 5.27.5
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I'm using Mesa on an Intel iGPU. I haven't tried to use the Nvidia card for the X11 session yet.
Comment 1 Zamundaaa 2023-08-16 17:15:29 UTC
On Xorg, Xorg takes care of the cursor. We can't do anything about this.