| Summary: | XWayland apps have a slightly blurry mouse cursor when using scaling | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Alexander Sanderson <1gsiqkbz> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | aleixpol, apricus, lioh.moeller, nate, rosswzyang, xaver.hugl, xnaxdy |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.8 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Cursor when hovering over the title bar of the XWayland app (it is sharp)
Cursor when hovering over the main window of the XWayland app (it is blurry) Video of the blurry cursor on xWayland windows compared to Wayland-native windows |
||
|
Description
Alexander Sanderson
2023-03-08 16:15:37 UTC
Created attachment 157116 [details]
Cursor when hovering over the title bar of the XWayland app (it is sharp)
Created attachment 157117 [details]
Cursor when hovering over the main window of the XWayland app (it is blurry)
*** Bug 465306 has been marked as a duplicate of this bug. *** I can confirm this behavior. Additional information: I am using the default Plasma cursor theme (Breeze) In the display settings I am using: Legacy Applications (X11): Apply scaling themselves - It also happens when using an integer scaling factor f.e. 200% - The blurryness also applies to all other symbols of the mouse cursor theme like the hand symbol or the arrow symbol when resizing windows - In some xWayland applications one can see just a blurry version of the Breeze cursor; in other applications one can see a blurry version of the Adwaita cursor theme. So some xWayland applications seem to honor the cursor theme that was set in the Plasma settings and others default to the Adwaita cursor theme. Created attachment 162431 [details]
Video of the blurry cursor on xWayland windows compared to Wayland-native windows
The problem is still present on Plasma 5.27.8. This video shows the problem more clearly than the previous screenshots. The bottom is the Wayland-native Plasma panel where the cursor is sharp. The top is Discord running in xWayland where the cursor is blurry / in low resolution.
This should be fixed in Plasma 6 with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2792 I'm able to reproduce this issue in NixOS using Plasma 6.0. Not fixed? (In reply to Naxdy from comment #7) > I'm able to reproduce this issue in NixOS using Plasma 6.0. Not fixed? What cursor theme do you use? I use Vimix cursors: https://github.com/vinceliuice/Vimix-cursors That cursor theme needs to provide more sizes like breeze cursor theme Switched to the Breeze theme (black), but I can still reproduce the issue unfortunately. what's the scale factor? and configured cursor size too scale factor 200%, screen resolution 3840x2400, cursor size 24 As discussed on matrix, xsettings needs to be installed so gtk apps pick up the scaled cursor size setting. |