Bug 511061 - Cursor artifacts with xcursor pack and fractional scaling
Summary: Cursor artifacts with xcursor pack and fractional scaling
Status: RESOLVED DUPLICATE of bug 510555
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 6.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-25 00:52 UTC by moichumoigaming
Modified: 2025-10-29 18:59 UTC (History)
1 user (show)

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


Attachments
Example of the artifact. (194.07 KB, image/png)
2025-10-25 00:52 UTC, moichumoigaming
Details

Note You need to log in before you can comment on or make changes to this bug.
Description moichumoigaming 2025-10-25 00:52:20 UTC
Created attachment 186117 [details]
Example of the artifact.

SUMMARY
Using an xcursor pack and monitor scaling 150 %, the cursors gets a vertical black line in the top left corner of the cursor image. The xcursor pack I use contains images of multiple sizes (16-24-32-40-48-...).
The issue appeared after upgrading to kde plasma 6.5 and was not present before.

STEPS TO REPRODUCE
1. Open Kate.
2. Make the window maximized, then windowed.
3. Hover over text when the window is windowed or maximized.
The artifact can also appear in any other application. I see it happen in firefox.
It does NOT seem to happen when windows are on a 100% scaled monitor.

Other way of reproducing the artifact :
1. Have a window open on a 100% scaled monitor.
2. Drag the window to a 150% scaled monitor.
3. Hover over the screen boundaries as if you wanted to resize the window.

OBSERVED RESULT
The cursor will have what seems to be a 1 pixel wide half cursor size height black line in the top left corner of the cursor image.

EXPECTED RESULT
No black line artifact.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Comment 1 moichumoigaming 2025-10-25 22:39:09 UTC
After digging through the commits made to kwin, seems like this commit may have already resolved the issue : https://invent.kde.org/plasma/kwin/-/commit/705ca2b3e27fbedf81ee308f9b7cf0f414ced76b
which aimed to fix the bug report in this report : https://bugs.kde.org/show_bug.cgi?id=510555
From the picture posted in the bug report linked, it seems to be the same kind of issue I have.
Comment 2 Nate Graham 2025-10-29 18:59:34 UTC

*** This bug has been marked as a duplicate of bug 510555 ***