[Bug 920792] New: KDE 5 Plasma icons are missing after upgrade
http://bugzilla.opensuse.org/show_bug.cgi?id=920792 Bug ID: 920792 Summary: KDE 5 Plasma icons are missing after upgrade Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE4 Workspace Assignee: kde-maintainers@suse.de Reporter: szotsaki@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 625485 --> http://bugzilla.opensuse.org/attachment.cgi?id=625485&action=edit Missing icons everywhere After an upgrade all the breeze icons are missing and replaced by either blank space or a black square. I attach a screenshot which shows that in the K menu you can see just blank icons while in KWrite and in SystemSettings no icons at all. Interestingly, KDE 4 applications are not affected, they can show the default breeze icons. The following breeze packages are installed: S | Name | Summary | Type --+--------------------+-------------------------------------------+-------- i | breeze | Plasma Desktop artwork, styles and assets | package i | breeze4-style | Plasma Desktop artwork, styles and assets | package i | breeze5-decoration | Plasma Desktop artwork, styles and assets | package i | breeze5-style | Plasma Desktop artwork, styles and assets | package i | breeze5-cursors | Plasma Desktop artwork, styles and assets | package i | breeze5-icons | Plasma Desktop artwork, styles and assets | package i | breeze5-style-lang | Languages for package breeze | package i | breeze5-wallpapers | Plasma Desktop artwork, styles and assets | package I'm using the following KDE 5 repositories: - http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/ - http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #2 from Ákos Szőts
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #3 from Wolfgang Bauer
I did the vendor change and also manually checked the versions of all the packages to be from the right repo. Basically, there were no changes (except for a small deprecated QNetworkmanager5 -> 6 change).
That doesn't sound relevant.
Later I found the qt5ct program (from package libqt5-qtct) with which I could configure that all the Qt 5 programs should use the Breeze theme (instead of the previously selected Fusion) and the Breeze icon theme (while nothing was selected before). Now it is really much better now. I see icons and Breeze theme almost everywhere.
Ok, so you changed Qt5's settings to use Breeze instead of Fusion. Shouldn't be necessary, and will not help with other Plasma5 settings I suppose.
Could you please tell me where can I find these Qt platform libraries to make sure that I have them installed correctly? I tried to search them but with little luck.
Sorry I forgot to mention this: it is libKF5Style5, and it has to be compiled against the exact Qt5 version you are using. I.e. if you installed libKF5Style5 from KDE:Frameworks5, you need Qt5 from KDE:Qt5. Btw, Qt5 detects the KDE session via the environment variable $XDG_CURRENT_DESKTOP. Is this set? And to what? (should be "KDE") echo $XDG_CURRENT_DESKTOP
About the Oxygen window decoration: for me the blue window borders are too harsh, that's why I'm changing back to KDE 4's KWin simply by executing "kwin_gles --replace" after the login. Apparently, KWin5 and KWin4 are co-installable.
Yes they are. But you should be able to configure the window borders to your likings in systemsettings5->Colors too. Oh, and the window borders shouldn't be blue at all with the openSUSE color scheme, not to mention that the Breeze window decoration doesn't even have any (colored) window borders... ;) (as mentioned, Oxygen is not available for kwin5 at the moment) A side-note: here is a forum thread about apparently the same problem: https://forums.opensuse.org/showthread.php/505494-opensuse-13-2-kde5-quot-no... Unfortunately we didn't find the cause, it just started working suddenly... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #4 from Ákos Szőts
Ok, so you changed Qt5's settings to use Breeze instead of Fusion. Shouldn't be necessary, and will not help with other Plasma5 settings I suppose.
For some areas did, but as can be seen in the previous screenshot, many icons are still black or missing. So yes, only half success. Besides, I want to know what causes this :).
Sorry I forgot to mention this: it is libKF5Style5, and it has to be compiled against the exact Qt5 version you are using. I.e. if you installed libKF5Style5 from KDE:Frameworks5, you need Qt5 from KDE:Qt5.
Thank you, I checked this one also. It is the from the KDE:Frameworks5 and I use KDE:Qt5 along with it.
Btw, Qt5 detects the KDE session via the environment variable $XDG_CURRENT_DESKTOP. Is this set? And to what? (should be "KDE") echo $XDG_CURRENT_DESKTOP
It is KDE.
A side-note: here is a forum thread about apparently the same problem: https://forums.opensuse.org/showthread.php/505494-opensuse-13-2-kde5-quot-no... icons-in-Application-launcher-and-sistem-settings-quot?p=2696395#post2696395 Unfortunately we didn't find the cause, it just started working suddenly...
Thank you, I'll check that one also and try some strace'ing. On the weekend I won't be near but on Monday I try to debug this further. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
Hrvoje Senjan
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #6 from Ákos Szőts
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #7 from Ákos Szőts
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #8 from Ákos Szőts
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #9 from Hrvoje Senjan
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
--- Comment #10 from Ákos Szőts
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
Rufus Laggren
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c23
--- Comment #23 from Wolfgang Bauer
I don't see any reason to keep this open.
But this is a completely different problem, totally unrelated to any GTK style. Short summary: Installation of libqt5-qtct creates a script in /etc/profile.d/ with "export QT_QPA_PLATFORMTHEME=qtct". This forces the qtct platform plugin to be used, even if you login to Plasma5. Because of that, KDE's settings are not respected, icons may be missing (because they are not in the used fallback icon theme), and maybe other problems. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c24
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c25
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c26
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c27
--- Comment #27 from Simon Lees
I just had a similar situation within 42.2. Suddenly dolphin, digikam etc had no icons anymore when run in WindowMaker. I thought this worked initially, so probably broke with some update. Not sure whether to recycle this bug but since it's still open... We need a proper solution that works out of the box for this. It's quite non obvious having to install qt5ct and run it once to make KDE applications look proper. So far qt5ct even interfered with a KDE session which made it even less acceptable (sr#492216).
Installing qt5ct is not required to fix the issue, you just need to set a couple of environment variables so Qt falls back to something sensible if it doesn't detect the desktop. For example enlightenment exports the following. QT_QPA_PLATFORMTHEME=gtk2 QT_STYLE_OVERRIDE=gtk2 This meant that when running A Qt / KDE application under enlightenment it would use the gtk based theming (enlightenment has a dialog to set the gtk theme) while if I run under KDE it will use the kde theme. It would be nice if Qt handled its fallback better so that it went to something like Fusion with a icon theme if it didn't detect the desktop rather then picking nothing. It seems like what I was doing above is broken with the latest Qt in tumbleweed, I guess maybe the gtk fall back stuff has changed or something. Unfortunatlly I just moved house and don't have a proper internet connection and can't debug much further until I do. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c29
--- Comment #29 from Wolfgang Bauer
I just had a similar situation within 42.2. Suddenly dolphin, digikam etc had no icons anymore when run in WindowMaker.
The missing icons should be more or less "fixed" with Qt 5.12 (released a couple of days ago), as current kiconthemes versions set "breeze" as fallback theme then (this is only possible since Qt 5.12): https://cgit.kde.org/kiconthemes.git/commit/?id=421404563e87a50d0af22eb8ca09... At least this should affect applications linking against kiconthemes (which includes all applications that use kxmlgui, i.e. most "real" KDE applications). I just ran a couple of KDE applications (kdevelop5, dolphin, systemsettings5) in IceWM, and icons that were missing before are shown now (taken from the "breeze" icon theme). We probably should add a "Recommends: breeze-icons" to libKF5IconThemes5 though, as suggested here: https://mail.kde.org/pipermail/kde-frameworks-devel/2018-August/069732.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c30
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c31
--- Comment #31 from Wolfgang Bauer
We probably should add a "Recommends: breeze-icons" to libKF5IconThemes5 though, as suggested here: https://mail.kde.org/pipermail/kde-frameworks-devel/2018-August/069732.html
This is done now as well: https://build.opensuse.org/request/show/663076 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c32
--- Comment #32 from Simon Lees
I actually consider this fixed now, with Qt 5.12 at least, i.e current Tumbleweed.
- the original problem was already fixed by changing qt5ct to not force its platform plugin in Plasma - with Qt 5.12, KDE applications now use breeze as fallback theme as mentioned (this would also have helped in the original case... ;-) )
Backporting the latter part to previous openSUSE releases is out of scope I think though.
If somebody disagrees, feel free to reopen (but it was closed as WONTFIX anyway...).
Part of the issue here was that the fallback theme Qt would use if it couldn't detect what it should run ie when it didn't recognize the desktop didn't load any icons do you know if that was also fixed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c33
--- Comment #33 from Fabian Vogt
(In reply to Wolfgang Bauer from comment #30)
I actually consider this fixed now, with Qt 5.12 at least, i.e current Tumbleweed.
- the original problem was already fixed by changing qt5ct to not force its platform plugin in Plasma - with Qt 5.12, KDE applications now use breeze as fallback theme as mentioned (this would also have helped in the original case... ;-) )
Backporting the latter part to previous openSUSE releases is out of scope I think though.
If somebody disagrees, feel free to reopen (but it was closed as WONTFIX anyway...).
Part of the issue here was that the fallback theme Qt would use if it couldn't detect what it should run ie when it didn't recognize the desktop didn't load any icons do you know if that was also fixed?
Kinda. The KIconThemes framework sets the fallback theme to breeze in the static initialization, so anything that links against kiconthemes (directly or indirectly) uses breeze at least as fallback now. (Unfortunately that caused a regression which I'm not sure how to fix, so this might end up being reverted again: https://bugs.kde.org/show_bug.cgi?id=402172) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=920792
http://bugzilla.opensuse.org/show_bug.cgi?id=920792#c34
--- Comment #34 from Simon Lees
(In reply to Simon Lees from comment #32)
(In reply to Wolfgang Bauer from comment #30)
I actually consider this fixed now, with Qt 5.12 at least, i.e current Tumbleweed.
- the original problem was already fixed by changing qt5ct to not force its platform plugin in Plasma - with Qt 5.12, KDE applications now use breeze as fallback theme as mentioned (this would also have helped in the original case... ;-) )
Backporting the latter part to previous openSUSE releases is out of scope I think though.
If somebody disagrees, feel free to reopen (but it was closed as WONTFIX anyway...).
Part of the issue here was that the fallback theme Qt would use if it couldn't detect what it should run ie when it didn't recognize the desktop didn't load any icons do you know if that was also fixed?
Kinda. The KIconThemes framework sets the fallback theme to breeze in the static initialization, so anything that links against kiconthemes (directly or indirectly) uses breeze at least as fallback now.
(Unfortunately that caused a regression which I'm not sure how to fix, so this might end up being reverted again: https://bugs.kde.org/show_bug.cgi?id=402172)
That seems to be of limited use anyway, many of the Qt based apps that people tend to favor on non KDE desktops like pcmanfm-qt don't link against anything in the KDE stack. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com