Bug 477258 - Cursor size is too big and varies on size and style on wayland
Summary: Cursor size is too big and varies on size and style on wayland
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-20 01:23 UTC by Firestar-Reimu
Modified: 2023-12-01 05:07 UTC (History)
2 users (show)

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


Attachments
screenshots (614 bytes, text/plain)
2023-11-20 01:37 UTC, Firestar-Reimu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Firestar-Reimu 2023-11-20 01:23:28 UTC
I use cursor `size=36 style=Breeze` on X11

I have the display 200% on X11 and Wayland, and I use `Apply Scaling Themselves` on Wayland

But I found that on Wayland screen or system apps, it will enlarge to about 72 (200%).

On Edge browser it  will enlarge to about 54 (150%).

and on VScode it is 36 as the same as on X11.

And on Gwenview it will change to Adwaita style.
Comment 1 Firestar-Reimu 2023-11-20 01:37:29 UTC
Created attachment 163305 [details]
screenshots
Comment 2 Firestar-Reimu 2023-11-20 01:39:35 UTC
Screenshots https://paste.c-net.org/ToiletsCreature
Comment 3 Nate Graham 2023-11-29 23:05:52 UTC
> But I found that on Wayland screen or system apps, it will enlarge to about 72 (200%).

This is intentional; it's the way it was supposed to be all along. Rather, it's X11 that didn't properly scale the cursor!

> On Edge browser it  will enlarge to about 54 (150%).
This is a bug in Edge.

> and on VScode it is 36 as the same as on X11.
And this is a bug in VSCode. :) 

> And on Gwenview it will change to Adwaita style.
This is caused by Gwenview still using Qt 5, which is an Arch packaging issue. Gwenview has a Qt 6 port now, so if you're using Qt 6 for everything else, you should be using the Qt 6 version of Gwenview too.
Comment 4 Firestar-Reimu 2023-12-01 05:07:56 UTC
OK Gwenview 24.01.80 had not been updated until yesterday.

So maybe you need to develop smaller cursor sizes such as 6, 9, 12, 18 (as 4K/8K screen users may beed larger scalings)? And Edge/VSCode should use 200% scaling too.