Bugzilla – Bug 1130293
YaST2 Oxygen (not Breeze) icon theme is installed, but I see Hicolor icons in YaST
Last modified: 2020-01-02 15:45:06 UTC
Created attachment 801024 [details]
yast2-control-center-qt 4.1.6 - YaST2 with Oxygen icons (openSUSE Tumbleweed 20190226)
I had openSUSE Tumbleweed 20190226 version - LiveCD.
This snapshot had updated and again usable Oxygen icon theme for YaST, because of https://github.com/yast/yast-theme/pull/107 in 2019-02-15
(see also https://bugzilla.opensuse.org/show_bug.cgi?id=1125450)
After update to newer openSUSE Tumbleweed version, icons in YaST2 control center changed from Oxygen to Breeze, though I did not install YaST breeze icon theme!
I found that the cause was update to yast2-control-center-qt from 4.1.6 version to 4.1.7 version. This is caused by faulty "Introduce very effective fallback for icons" (boo#1127245)
Created attachment 801025 [details]
yast2-control-center-qt 4.1.7 - YaST2 with Breeze icons
Did you change your icon theme for root too? YaST runs as root, so switching the root icon theme is required to change icon theme.
Even if I login as root into KDE Plasma 5 desktop, where Oxygen icon theme is used as default icon theme for Plasma desktop, then YaST2 still use Breeze icons.
Created attachment 801026 [details]
yast2-control-center-qt 4.1.7 - YaST2 with Breeze icons -- login as root in KDE Plasma 5 with Oxygen as default icon theme
Those are hicolor icons :/
Seems buggy implementation introduced with
Yes, there I see lines about hicolor as fallback:
// qt5ct doesn't set a default theme
if ( QIcon::themeName().isEmpty() )
QIcon::setThemeName( "hicolor" );
Yeah, that was necessary for situations where no theme is applied, it shouldn't really matter if the theme is set from qt settings (the alternative to that are no icons at all in some desktop environments)
Thus we need to check not only qt settings, but also desktop icon theme settings.
If I install yast2-theme-breeze and set desktop icon theme to Breeze – icons in YaST2 control center does not change (they remains to be Hicolor)
should be fixed with https://github.com/yast/yast-control-center/pull/44/files
please reopen if it still happpens.