Bug 459670 - Cursor theme changes to Adwaita when interacting with GTK applications
Summary: Cursor theme changes to Adwaita when interacting with GTK applications
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 16:10 UTC by Sandro
Modified: 2022-10-26 14:33 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26.2


Attachments
Cursor changing theme (828.99 KB, video/x-matroska)
2022-09-25 16:10 UTC, Sandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro 2022-09-25 16:10:44 UTC
Created attachment 152419 [details]
Cursor changing theme

STEPS TO REPRODUCE
Open any GTK application and click on a dropdown or foldout or open a context menu by right clicking.

OBSERVED RESULT
See the attached video

ADDITONAL INFORMATION
This seems to have been introduced with the fix of bug 458865 and has already been mentioned there, but since this is not the same issue I'm opening a new report. This happens both for application installed through the package manager, as well as flatpaks. Setting the cursor theme from the system settings fixes the issue for the active session, but the issue reappears when restarting.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.10-arch1-1 (64-bit)
Graphics Platform: X11
Comment 1 Paul 2022-10-16 09:52:54 UTC
(In reply to Sandro from comment #0)
> ... Setting the cursor theme from the
> system settings fixes the issue for the active session, but the issue
> reappears when restarting. ...

Unfortunately that doesn't seem to be the case here, changing the cursor theme (System Settings -> Appearance -> Cursors) from "Oxygen_White" to "Breeze" or back from "Breeze" to "Oxygen_White" doesn't result in any change to the errant behaviour of the cursor theme in GTK applications.

Does anyone have a workable temporary fix for this until the issue is resolved?

As Firefox and Thunderbird are both popular GTK applications this bug is rather visibly too obvious and detracts from the professional appearance of KDE.

Operating System: openSUSE Tumbleweed 20221012
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-1-default (64-bit)
Graphics Platform: X11
Comment 2 James McIntosh 2022-10-16 10:32:39 UTC
(In reply to Paul from comment #1)
> Does anyone have a workable temporary fix for this until the issue is
> resolved?

Try editing/creating: /usr/share/icons/default/index.theme

Add this:
[Icon Theme]
Inherits=Oxygen_White
Comment 3 Paul 2022-10-16 10:56:36 UTC
(In reply to jamesxmcintosh from comment #2)
> (In reply to Paul from comment #1)
>
> Try editing/creating: /usr/share/icons/default/index.theme
> 
> Add this:
> [Icon Theme]
> Inherits=Oxygen_White

There was no "default" sub-directory below "/usr/share/icons/", creating that sub-directory together with "index.theme" containing the section you indicated, does indeed "fix" the problem.

I, (and my users) are most grateful to you :)

Could there possibly be unintended consequences to adding that? (At the moment I don't see any).
Comment 4 Guillaume Castagnino 2022-10-16 21:50:34 UTC
(In reply to jamesxmcintosh from comment #2)
> (In reply to Paul from comment #1)
> > Does anyone have a workable temporary fix for this until the issue is
> > resolved?
> 
> Try editing/creating: /usr/share/icons/default/index.theme
> 
> Add this:
> [Icon Theme]
> Inherits=Oxygen_White

Indeed, this workaround is working. Thank’s a lot.

It looks like it’s a recent regression since very few times. Maybe since kde frameworks 5.98. But not really sure about this. This is my best guess considering my upgrade history

Currently still having the issue with:
Operating System: Gentoo Linux 2.9
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.5
Kernel Version: 6.0.2-gentoo (64-bit)
Graphics Platform: X11
Comment 5 Sandro 2022-10-17 18:41:08 UTC
(In reply to Guillaume Castagnino from comment #4)
> (In reply to jamesxmcintosh from comment #2)
> > (In reply to Paul from comment #1)
> > > Does anyone have a workable temporary fix for this until the issue is
> > > resolved?
> > 
> > Try editing/creating: /usr/share/icons/default/index.theme
> > 
> > Add this:
> > [Icon Theme]
> > Inherits=Oxygen_White
> 
> Indeed, this workaround is working. Thank’s a lot.
> 
> It looks like it’s a recent regression since very few times. Maybe since kde
> frameworks 5.98. But not really sure about this. This is my best guess
> considering my upgrade history
> 
> Currently still having the issue with:
> Operating System: Gentoo Linux 2.9
> KDE Plasma Version: 5.26.0
> KDE Frameworks Version: 5.99.0
> Qt Version: 5.15.5
> Kernel Version: 6.0.2-gentoo (64-bit)
> Graphics Platform: X11

This is a regression from https://invent.kde.org/plasma/plasma-workspace/-/commit/9bf0e56da84de5e9bd2b3ff28bdb2cb1af6de91e
See bug 458865 for details.
Comment 6 Nate Graham 2022-10-17 19:15:21 UTC
Same issue as Bug 458865? Or same root cause?
Comment 7 Sandro 2022-10-17 19:26:35 UTC
(In reply to Nate Graham from comment #6)
> Same issue as Bug 458865? Or same root cause?

This one was caused by the fix of bug 458865, but the cursor issue this bug is about has been discussed in Bug 458865 since.
Comment 8 Sandro 2022-10-17 19:31:56 UTC
The issue has been mentioned in Bug 458865 Comment 30 & Bug 458865 Comment 34 to be specific.
Comment 9 Luka Rasputin 2022-10-23 07:19:10 UTC
It used to happen to me not only in GTK apps, but also on Plasma loading screen for a second after logging in from SDDM. I changed cursor theme to Adwaita in LXAppearance and then back to Breeze and now it doesn't change anymore.