Bugzilla – Bug 942136
YaST2 in KDE has ugly GNOME-like icons
Last modified: 2021-02-19 14:11:38 UTC
YaST2 in KDE should have native icons, like Oxygen theme. To fix this, I do: cd /usr/share/YaST2/theme/current/ su -c "rm icons; ln -s '../../../icons/oxygen' icons"
something for designers. I remember there was attempt for it, but then not used.
I agree completely that this looks horrible and should be fixed. That being said, we do not have a mandate to work on this, and therefor no official time can be allocated. If we were to get official time to work on it we would either have to hire a designer or out-source it _or_ drop some other major piece of work because this task is huge, and very complicated. All in all, I say redesign the entire UI of YaST control center in the installed system, reducing the need for icons for every single module.
No. As you see in https://software.opensuse.org/search?q=yast2-theme-openSUSE&baseproject=openSUSE%3A13.1 results, in openSUSE 13.1 and earler versions existed packages: yast2-theme-openSUSE yast2-theme-openSUSE-Oxygen yast2-theme-openSUSE-Crystal openSUSE 13.2 merged tree icon sets from mentioned packed into one package: yast2-branding-openSUSE As you see in https://build.opensuse.org/package/show?project=openSUSE%3AFactory&package=yast2-theme , these icons still coexist in such package, but it use symlink to switch between particular icon set. Though developers merged icon packages, they forgot to provide mechanism to change icon set, depending on desktop environment! I changed just symlink, and all icons look as in openSUSE 13.1 with Oxygen theme.
Created attachment 644604 [details] Current hicolor theme Current hicolor theme
Created attachment 644606 [details] Oxygen theme I use mentioned trick to use Oxygen icons, and I never noticed any missing icons in this almost one-year usage of oxygen theme with openSUSE 13.2. Though I see, that some icons for patterns in Software Manager is not Oxygen-like, but they are still quite consistent look :) I recommend as solution to 1) add yast2-branding-openSUSE as requires in patterns-openSUSE-sw_management_kde package and 2) to run post-installation script of patterns-openSUSE-sw_management_kde to change symlink of icons to oxygen. Though, later, as openSUSE migrate to KDE Plasma 5, we could also add YaST Breeze theme.
Created attachment 644607 [details] Crystal icon theme is only out-dated icon set, has missing icons, suggest to be removed
reason why crystal was removed in 13.2 was that there is not enough man-power to maintain such set of icons and also specific qss that fit such theme
Yes Crystal should be removed, but these icons is still present in yast2-branding-openSUSE. But Oxygen icons are up-to-date in yast2-branding-openSUSE, but needs to be symlinked, if KDE is installed.
I created a submit request https://build.opensuse.org/request/show/325049 , so you can test yourself by installing RPM
temporal links to RPMs for testing: https://api.opensuse.org/build/home:embar-:branches:system:install:head/openSUSE_Factory_standard/x86_64/patterns-openSUSE/patterns-openSUSE-sw_management_kde-20150821-512.1.x86_64.rpm https://api.opensuse.org/build/home:embar-:branches:system:install:head/openSUSE_Factory_standard/i586/patterns-openSUSE/patterns-openSUSE-sw_management_kde-20150821-512.1.i586.rpm
Created attachment 644620 [details] patterns-openSUSE-sw_management_kde-20150821-512.1.i586.rpm I attach RPM here, as you may not access RPM via link above
Created attachment 644621 [details] patterns-openSUSE-sw_management_kde-20150821-512.1.x86_64.rpm
Created attachment 644642 [details] patterns-openSUSE-kde_yast-20150821-513.1.x86_64.rpm patterns-openSUSE-kde_yast is more correct place for has pre- and post- scripts to switch icon theme to Oxygen, because this package already (and still!) requires yast2-theme-openSUSE-Oxygen (though this is provided by real yast2-branding-openSUSE package).
Created attachment 644644 [details] patterns-openSUSE-kde_yast-20150821-513.1.i586.rpm New submit request https://build.opensuse.org/request/show/325081
Sorry, I should have noticed that this is an openSUSE bug :-( It seems that you have it figured out :-) I'll take a closer look at this when I get back into the office on Monday but from the looks of it, and how you describe it, it seems like a no-brainer. Thanks for the excellent work!
Submit request to patterns was not accepted, because patterns should not run scripts... Do you have ideas for another solution?
Bug still in Leap 42.1 RC1. Provided simple solution, why not use?
Similar bug: https://bugzilla.suse.com/show_bug.cgi?id=955893
Bug actual in openSUSE Leap 42.2 beta2 also.
Bug still in openSUSE 42.2 RC1. Maybe we can create empty package yyast2-branding-openSUSE-Oxygen, that has "requires: yast2-branding-openSUSE" just triggers at installing it: cd /usr/share/YaST2/theme/current/ su -c "rm icons; ln -s '../../../icons/oxygen' icons" and linking again to hicolor after uninstalling?
(In reply to Mindaugas Baranauskas from comment #20) > cd /usr/share/YaST2/theme/current/ > su -c "rm icons; ln -s '../../../icons/oxygen' icons" > > and linking again to hicolor after uninstalling? Tweaking the symlinks manually should be avoided, I think "update-alternatives" should be a better way...
Fixed in yast-theme 3.2.2 by creating yast2-branding-openSUSE-Oxygen empty package to trigger swich into Oxygen theme for YaST2 in openSUSE
yast2-branding-openSUSE-Oxygen allows to switch into Oxygen theme, but now this will not be used by default.
Seems fixed in 42.3 beta
note we have to revert this for 15.0 as this symlink breaks migration to SLE (boo#1087224). We need a different solution.
"update-alternatives" will be better (as suggested in comment#21)?
yes and no. It is the correct way for managing a symlink. however we cannot use a symlink at all in this case.