Bug 473451 - On X11, the mouse cursor, when switching states, tends to glitch
Summary: On X11, the mouse cursor, when switching states, tends to glitch
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 13:35 UTC by unixstuff
Modified: 2023-08-16 17:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.