Bug 477258

Summary: Cursor size is too big and varies on size and style on wayland
Product: [Plasma] kwin Reporter: Firestar-Reimu <1900011604>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate, nicolas.fella
Priority: NOR    
Version First Reported In: 5.27.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshots

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.