Bug 450213 - Cursor size change requires re-login (except for GTK windows and titlebars)
Summary: Cursor size change requires re-login (except for GTK windows and titlebars)
Status: RESOLVED DUPLICATE of bug 420859
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-02-14 13:34 UTC by postix
Modified: 2022-02-14 14:49 UTC (History)
1 user (show)

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


Attachments
KWin support information (6.59 KB, text/plain)
2022-02-14 13:34 UTC, postix
Details
Screenshot: Comparison of the cursor sizes (79.46 KB, image/png)
2022-02-14 14:03 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***