SUMMARY Currently, when switching the global theme, the popup applets don't display the headers correctly. Most likely plasmoidheading.svgz is in the wrong location: now it is in /usr/share/plasma/desktoptheme/breeze-dark, but should be in /usr/share/plasma/desktoptheme/breeze-dark/widgets (same for /usr/share/plasma/desktoptheme/breeze-light). Moving plasmoidheading.svgz to a "widgets" folder fix this issue. It looks like commit d874449ad333c900b2e6d5f129bbe130ce479909 broke that. Sorry if I'm wrong. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.19 User Edition KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.0
Created attachment 131648 [details] Before Before moving plasmoidheading.svgz
Created attachment 131649 [details] After After moving plasmoidheading.svgz
Hmm, looks okay on my system with Frameworks 5.74: $ ls -la /usr/share/plasma/desktoptheme/breeze-*/widgets/plasmoidheading.svgz lrwxrwxrwx 1 root root 42 Aug 25 17:00 /usr/share/plasma/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz -> ../../default/widgets/plasmoidheading.svgz lrwxrwxrwx 1 root root 42 Aug 25 17:00 /usr/share/plasma/desktoptheme/breeze-light/widgets/plasmoidheading.svgz -> ../../default/widgets/plasmoidheading.svgz Is this not what it looks like for you?
$ ls -la /usr/share/plasma/desktoptheme/breeze-*/widgets/plasmoidheading.svgz ls: cannot access '/usr/share/plasma/desktoptheme/breeze-*/widgets/plasmoidheading.svgz': No such file or directory $ ls -la /usr/share/plasma/desktoptheme/breeze-*/plasmoidheading.svgz -rw-r--r-- 1 root root 874 Sep 11 13:16 /usr/share/plasma/desktoptheme/breeze-dark/plasmoidheading.svgz -rw-r--r-- 1 root root 874 Sep 11 13:16 /usr/share/plasma/desktoptheme/breeze-light/plasmoidheading.svgz Same on live image.
Shouldn't that be fixed by https://invent.kde.org/frameworks/plasma-framework/-/commit/d874449ad333c900b2e6d5f129bbe130ce479909
Yes, that's what I would expect. However Eugene is saying he thinks this was *broken* by that commit. Eugene, can you clarify?
I'm not sure. As I can see only commit d874449ad333c900b2e6d5f129bbe130ce479909 affects plasmoidheading.svgz. At the same time, Nate said that he didn't notice this problem on his system. So maybe this issue is specific to Neon only?
Same on the latest openSUSE Krypton. So the issue isn't Neon specific only.
We are getting reports of this from people using multiple distros; re-opening. Still, it looks sane in the code, and I don't see the issue in my built-from-source issue. Either it was fixed after 5.74 was released, or something very odd is going on.
Could the distro packages have problems replacing the old unusual sym links with actual files?
Hmm, that seems like it could be a solid lead.
(In reply to popov895 from comment #8) > Same on the latest openSUSE Krypton. So the issue isn't Neon specific only. You might be running into https://github.com/rpm-software-management/rpm/issues/1278. The commit replaced symlinks with copies, so on upgrades from the state with symlinks to the state with copies (which get converted into hardlinks), the added hardlinks would get created with no content. To confirm: ll /usr/share/plasma/desktoptheme/breeze-*/widgets/plasmoidheading.svgz (should show a size of 0 and a mode of w--) zypper install --force plasma-framework (should fix the missing files)
https://invent.kde.org/frameworks/plasma-framework/-/commit/d874449ad333c900b2e6d5f129bbe130ce479909 installs to the wrong directory though? Originally it installed the **directory** 'widgets' to ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark which would lead to the actual output being > ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark/widgets/foo.svgz The diff changed that to install the **file** svgz to the directory ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark (the location hasn't changed to a subdir!) effectively this is > ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark/foo.svgz Here the relevant lines from the neon unstable build log > -- Installing: /workspace/build/debian/tmp/usr/share/plasma/desktoptheme/breeze-dark/plasmoidheading.svgz > -- Installing: /workspace/build/debian/tmp/usr/share/plasma/desktoptheme/breeze-light/plasmoidheading.svgz That is exactly what was shown in comment #4 though, so is that meant to be like that? :O (an strace of plasmashell says it shouldn't be, but maybe I'm missing something)
Good catch. It's not supposed to be like that, no. I'll fix it.
Git commit 7f9fe64f9bfa12462c0fae3c941ad1c2e73dcb20 by Nate Graham. Committed on 01/10/2020 at 23:28. Pushed by ngraham into branch 'master'. Fix plasmoidheading.svgz being installed to the wrong place This was causing it to not show up for people using the Breeze Dark Plasma theme (but not the default Plasma theme with a dark color scheme) FIXED-IN: 5.75 CCMAIL: vonreth@kde.org M +1 -1 src/desktoptheme/breeze-dark/CMakeLists.txt M +1 -1 src/desktoptheme/breeze-light/CMakeLists.txt https://invent.kde.org/frameworks/plasma-framework/commit/7f9fe64f9bfa12462c0fae3c941ad1c2e73dcb20