Bug 450213

Summary: Cursor size change requires re-login (except for GTK windows and titlebars)
Product: [Plasma] kwin Reporter: postix <postix>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: postix
Priority: NOR Keywords: wayland
Version: 5.24.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=301622
https://bugs.kde.org/show_bug.cgi?id=449501
Latest Commit: Version Fixed In:
Attachments: KWin support information
Screenshot: Comparison of the cursor sizes

Description postix 2022-02-14 13:34:27 UTC
Created attachment 146709 [details]
KWin support information

SUMMARY & STEPS TO REPRODUCE

Dual monitor: Left FullHD@100%, Right 4k@200% primary
Systemsettings -> Cursor -> Change size to any value

OBSERVED RESULT
The cursor size on the primary monitor does not change. It's always a fixed size.
It appears huge all over the screen, except for the Firefox window, where it is displayed smaller, namely like size 24 on the secondary screen.

The cursor size on the secondary screen however, changes according to the Systemsettings.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220210
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 Vlad Zahorodnii 2022-02-14 13:38:55 UTC
Looks okay on my machine with cursor size 24 and somewhat similar output setup.
Comment 2 postix 2022-02-14 13:40:39 UTC
On the primary monitor, the cursor shows the correct size when hovered of the titlebar of a window, though.

(In reply to Vlad Zahorodnii from comment #1)
> Looks okay on my machine with cursor size 24 and somewhat similar output
> setup.

Weird. Any idea, how I could debug this further?
Comment 3 postix 2022-02-14 13:49:24 UTC
After playing around, swapping the primary screen roles, changing the scalings to 100%, 150%, 200%, etc. I now find that the cursor size never changes for any of the screens, except for the titlebar and the Firefox window.
Comment 4 postix 2022-02-14 13:52:22 UTC
Replace Firefox with any GTK window in the comments above.
Comment 5 postix 2022-02-14 14:03:04 UTC
Created attachment 146710 [details]
Screenshot: Comparison of the cursor sizes
Comment 6 Vlad Zahorodnii 2022-02-14 14:04:12 UTC
Did you reboot computer after changing cursor settings?
Comment 7 postix 2022-02-14 14:45:52 UTC
(In reply to Vlad Zahorodnii from comment #6)
> Did you reboot computer after changing cursor settings?

(In reply to Vlad Zahorodnii from comment #6)
> Did you reboot computer after changing cursor settings?

That's a good point and led me to make the following interesting observation:

1) Initial setup before the reboot:
- Cursor size set to 24 in the KCM,
- visual appearance: 48 in general,  24 for the titlebars and GTK windows

2) Rebooted and logged back in:
- visual appearance: 24 in general and for the titlebars and GTK windows

3) Changed the size to 48:
- visual appearance: 24 in general and 48 for the titlebars and GTK windows

I also verified that the cursor changes but just logging back in. So either a reboot or a re-login is required on my side.
Comment 8 Vlad Zahorodnii 2022-02-14 14:49:25 UTC
Okay, this sounds like bug 420859

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