Bug 414109 - Plasma session started with a new user account shows different cursor depending on hovered area
Summary: Plasma session started with a new user account shows different cursor dependi...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_cursortheme (show other bugs)
Version: 5.18.4
Platform: unspecified Linux
: HI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 417046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-13 20:33 UTC by Patrick Silva
Modified: 2020-07-18 00:58 UTC (History)
6 users (show)

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


Attachments
screen recording (3.21 MB, video/webm)
2019-11-13 20:33 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-11-13 20:33:09 UTC
Created attachment 123909 [details]
screen recording

STEPS TO REPRODUCE
1. create a new user account in system settings > account details > user manager
2. do logout
3. start plasma session using the new user account

OBSERVED RESULT
cursors KCM indicates that current cursor theme is breeze, but apparently
Adwaita cursor appears when I hover over a window decoration and wallpaper.
Watch the attached screen recording please.

EXPECTED RESULT
cursor does not change depending on hovered area

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 1 Nate Graham 2019-11-14 19:59:43 UTC
Does the bug reproduce if you run `kwin_x11 --replace` and then hover over the titlebar again?
Comment 2 Patrick Silva 2019-11-14 20:26:34 UTC
yes, the bug is still reproducible after your command.
Comment 3 Nate Graham 2019-11-14 20:45:52 UTC
Darn. Does the problem go away if you change your cursor theme to be something other than "Resolution Independent?"
Comment 4 Patrick Silva 2019-11-14 20:56:29 UTC
The bug on mouseover the window decoration was immediately solved after I set cursor size to 24.
The bug on mouseover the wallpaper was solved after relogin.
Comment 5 Nate Graham 2019-11-14 21:15:16 UTC
Are you on Wayland or X11?
Comment 6 Patrick Silva 2019-11-14 21:16:28 UTC
X11
Comment 7 Nate Graham 2019-11-14 21:17:06 UTC
Thanks very much for all the information.

*** This bug has been marked as a duplicate of bug 413783 ***
Comment 8 Nate Graham 2019-11-14 21:18:38 UTC
Actually not a dupe, sorry. That's about sizes, this is about themes. Anyway, can confirm.

KWin folks, any ideas?
Comment 9 Patrick Silva 2019-11-27 13:03:13 UTC
fixed by https://phabricator.kde.org/D25540
Comment 10 Kai Uwe Broulik 2019-11-27 14:33:31 UTC
That's odd. How does GTK cursor stuff affect Plasma?
I believe that is this odd Arch Linux cursor issue Roman and I noticed a while ago.
Comment 11 Kai Uwe Broulik 2019-11-27 15:02:54 UTC
Git commit 4090e899eddd2c7f1e41ec690877c906bf8f1889 by Kai Uwe Broulik.
Committed on 27/11/2019 at 15:02.
Pushed by broulik into branch 'master'.

Add default value for cursor theme

When using the default cursors, no cursorTheme entry is written into the config file, leading to it resetting GTK to use "Adwaita" cursors.

Differential Revision: https://phabricator.kde.org/D25540

M  +1    -1    kded/configvalueprovider.cpp

https://commits.kde.org/kde-gtk-config/4090e899eddd2c7f1e41ec690877c906bf8f1889
Comment 12 Patrick Silva 2020-01-21 16:45:18 UTC
Still reproducible on Plasma 5.18 beta. Sorry.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 13 Nate Graham 2020-01-21 16:52:52 UTC

*** This bug has been marked as a duplicate of bug 382604 ***
Comment 14 Patrick Silva 2020-02-02 13:07:23 UTC
bug 382604 is not solved restarting kwin. It requires relogin (bug 382604 comment 11).
This bug is not solved even after relogin. Therefore, I think that it's not a duplicate of bug 382604.
Comment 15 Patrick Silva 2020-02-02 13:10:27 UTC
*** Bug 417046 has been marked as a duplicate of this bug. ***
Comment 16 Patrick Silva 2020-02-05 15:56:45 UTC
humm, I noticed that cursor changes to Breeze after right click on wallpaper and backs to adwaita when the context menu is closed.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Comment 17 Nate Graham 2020-02-14 18:34:32 UTC
Yeah. Can confirm.
Comment 19 Patrick Silva 2020-02-25 19:23:35 UTC
Not completely fixed. Window decoration is still showing Adwaita cursor when I hover over it on Wayland session.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 20 inasprecali 2020-03-05 11:15:27 UTC
I can confirm the same problem on the same Plasma version.
Comment 21 trmdi 2020-04-15 09:39:05 UTC
I've also been seeing this issue recently. On my system the cursor on the desktop is different with the other cases.
Comment 22 trmdi 2020-04-15 09:42:58 UTC
(In reply to trmdi from comment #21)
> I've also been seeing this issue recently. On my system the cursor on the
> desktop is different with the other cases.

Just notice that plasmashell seems to not update the cursor after I changed it. Restart plasmashell will update it.

Plasma 5.18.4 / openSUSE Tumbleweed.
Comment 23 trmdi 2020-04-18 10:00:02 UTC
(In reply to trmdi from comment #22)
> (In reply to trmdi from comment #21)
> > I've also been seeing this issue recently. On my system the cursor on the
> > desktop is different with the other cases.
> 
> Just notice that plasmashell seems to not update the cursor after I changed
> it. Restart plasmashell will update it.
> 
> Plasma 5.18.4 / openSUSE Tumbleweed.

Actually the bug comes back every restart. You need to repeat these steps to change the mouse for the current season.
Comment 24 Nate Graham 2020-07-17 14:37:35 UTC
I can no longer reproduce this issue with current git master. Can anyone confirm?
Comment 25 Patrick Silva 2020-07-17 16:32:23 UTC
cannot reproduce on neon unstable. :)
Comment 26 Nate Graham 2020-07-18 00:58:34 UTC
Phew!