Bug 487374 - Missing icons
Summary: Missing icons
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: regression
: 487381 487384 487416 487423 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-22 16:35 UTC by David Wu
Modified: 2024-06-06 20:52 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
About this System screen with missing icons (237.54 KB, image/png)
2024-05-22 16:35 UTC, David Wu
Details
Start Menu missing icons (814.60 KB, image/png)
2024-05-22 16:36 UTC, David Wu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Wu 2024-05-22 16:35:45 UTC
Created attachment 169703 [details]
About this System screen with missing icons

SUMMARY
I just did an update through Discover (May 22, 2024 @ 12:00 EST) and after the reboot, most of the Breeze Theme icons are missing


STEPS TO REPRODUCE
1. Do an update on Discover
2. Reboot

OBSERVED RESULT
Icons missing


EXPECTED RESULT
Icons should be there


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: UX370UAR
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 David Wu 2024-05-22 16:36:42 UTC
Created attachment 169704 [details]
Start Menu missing icons
Comment 2 duha.bugs 2024-05-22 17:26:02 UTC
Can confirm with breeze light theme.

Are you using breeze light?

As a work around you can set your global theme to breeze dark and colors to light.
Comment 3 David Wu 2024-05-22 17:39:38 UTC
(In reply to duha.bugs from comment #2)
> Can confirm with breeze light theme.
> 
> Are you using breeze light?
> 
> As a work around you can set your global theme to breeze dark and colors to
> light.

Hey Duha,

Yeap, I'm using Breeze Light.

Thanks for the suggestion, when I change to Breeze Dark, I see all the icons.

I'll just use this for now till an update for Breeze Light


Thanks,
Dave
Comment 4 duha.bugs 2024-05-22 19:14:08 UTC
*** Bug 487381 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Riddell 2024-05-22 19:41:10 UTC
One error on command line when running system settings and other apps is
"kf.config.core: Created a KConfigGroup on an inaccessible config location :/icons/breeze/index.theme Icon Theme"
Comment 6 Jonathan Riddell 2024-05-22 19:41:38 UTC
When I try a KF5 app (Umbrello) the icons work fine which suggests this is not a breeze-icon theme issue but something else in KF6
Comment 7 Jonathan Riddell 2024-05-22 19:45:00 UTC
actually KF6 KWidget apps like Konsole and Kolf seem to have working icons
Comment 8 duha.bugs 2024-05-22 20:00:16 UTC
*** Bug 487381 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Riddell 2024-05-22 20:03:40 UTC
I just tried again on a fresh install virtual machine, if I build breeze-icons 6.2.0 and install no change, if I build git master and install then it works
Comment 10 duha.bugs 2024-05-22 20:15:51 UTC
*** Bug 487384 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2024-05-22 22:34:50 UTC
*** Bug 487394 has been marked as a duplicate of this bug. ***
Comment 12 Jonathan Riddell 2024-05-22 23:26:32 UTC
I reverted to the 6.1.0 tar and packaging and it still doesn't work
Comment 13 Jonathan Riddell 2024-05-23 07:50:31 UTC
Workaround: select 'breeze dark', log off, log in again, and then select breeze whateveryouwant
Comment 14 Torsten Wohlfarth (TUXEDO) 2024-05-23 08:33:51 UTC
Choosing breeze-dark does work indeed, but sddm has no icons. Btw, is Breeze Dark the only Icon Theme, i see in systemsettings, there is no Breeze available. And then chosse another breeze theme, and the icons on desktop are broken/missing again.

So that "workaround" does nothing here™.
Comment 15 Adrien Beau 2024-05-23 08:57:21 UTC
The workaround did not work for me.

Selecting Breeze Dark brought back icons, some immediately, the rest after logging out and back in.

However, going in System Settings → Colors & Themes → Icons, I still only see Breeze Dark listed, there is no other Breeze.
Comment 16 Antonio Rojas 2024-05-23 09:21:40 UTC
*** Bug 487416 has been marked as a duplicate of this bug. ***
Comment 17 Adrien Beau 2024-05-23 09:47:25 UTC
As another workaround attempt, after switching to breeze-dark I edited
~/.config/kdeglobals and changed

[Icons]
Theme=breeze-dark

[Icons]
Theme=breeze

Maybe unsurprisingly, this did not work either.
Comment 18 Torsten Wohlfarth (TUXEDO) 2024-05-23 09:50:33 UTC
The problem seems to be in kf6-kiconthemes. If i extract the contents from the 6.1 deb to my system, then all is working well.
Comment 19 Torsten Wohlfarth (TUXEDO) 2024-05-23 10:14:12 UTC
I have now build a package 6.2.0~really~6.1.0 from the 6.1.0 source of kf6-kicons against neon/user and after installing that package, all icons are working again.
Comment 20 Antonio Rojas 2024-05-23 11:19:11 UTC
*** Bug 487423 has been marked as a duplicate of this bug. ***
Comment 21 Jonathan Riddell 2024-05-23 11:33:35 UTC
Another candidate for the issue is the libKF6BreezeIcons.so library built with kf6-breeze-icons

If I build and install it manually then the problem goes away

If I build it with the packaging and 
sudo cp obj-x86_64-linux-gnu/bin/libKF6BreezeIcons.so.6.3.0 into /usr/lib/x86_64-linux-gnu/
this works

if I 
sudo cp debian/kf6-breeze-icon-theme/usr/lib/x86_64-linux-gnu/lib/libKF6BreezeIcons.so.6.3.0 into /usr/lib/x86_64-linux-gnu/
this breaks
so there is something that causes a break during the dh_install  package building stage
Comment 22 JMB9 2024-05-23 17:23:54 UTC
This bug (as it was marked as being duplicate of my 487423) may be closed as several updates appeared for KDE neon 6.0.4
which solved my problem, thus all icons (AFAIKT) are the same as it was before this bug was introduced.
Thanks for solving this so fast !
Comment 23 David Wu 2024-05-23 17:51:41 UTC
As @JM89 mentioned above, the latest update fixed the issue.

Thanks KDE team for issuing a quick fix for the icon issue.

Closing ticket
Comment 24 Jonathan Riddell 2024-05-23 20:21:41 UTC
Sorry for the problem, it seems to be caused by a new way of searching for breeze icon theme which works for a manual build but not for our packaged build.  For now we have a workaround but a final fix is still to be worked out.
Comment 25 Jonathan Riddell 2024-05-23 20:32:03 UTC
Thanks to Torsten for proposing the KIconThemes workaround, this is what I've done and reverted to KIconThemes 6.1.0.  However it needs a proper fix in future
Comment 26 Christoph Cullmann 2024-05-23 21:40:38 UTC
Hmm, what was the concrete diff that got reverted? The most recent changes were done after 6.2 was released, does a current master build of breeze-icons and kiconthemes work?
Comment 27 Christoph Cullmann 2024-05-23 21:57:10 UTC
That error

One error on command line when running system settings and other apps is
"kf.config.core: Created a KConfigGroup on an inaccessible config location :/icons/breeze/index.theme Icon Theme"

is strange.
Comment 28 Christoph Cullmann 2024-05-23 21:57:26 UTC
That error

One error on command line when running system settings and other apps is
"kf.config.core: Created a KConfigGroup on an inaccessible config location :/icons/breeze/index.theme Icon Theme"

is strange.
Comment 29 Christoph Cullmann 2024-05-23 22:11:25 UTC
Could you get some backtrace to the location that error is output? Then all is bad, but I fail to see how that filename should be constructed.
Comment 30 duha.bugs 2024-05-23 22:13:10 UTC
Lets move this discussion to another bug report or to gitlab. The user facing issues have been currently dealt with and there are 17 people on the cc list that don't need to be spammed with trying to debug this.

For your questions: I don't know the specific diff that got reverted but afaik neon user and testing was affected by the bug but not neon unstable.
Comment 31 Torsten Wohlfarth (TUXEDO) 2024-05-23 22:25:29 UTC
neon/unstable is also affected.
Comment 32 Christoph Cullmann 2024-05-23 22:34:43 UTC
(In reply to duha.bugs from comment #30)
> Lets move this discussion to another bug report or to gitlab. The user
> facing issues have been currently dealt with and there are 17 people on the
> cc list that don't need to be spammed with trying to debug this.
> 
> For your questions: I don't know the specific diff that got reverted but
> afaik neon user and testing was affected by the bug but not neon unstable.

I have no issue if you move that to an extra issue, I can not reproduce with master builds nor with the KF 6.2.0 packages of NixOS that seem to have no reverts or large patches.

Just CC me on the new issue, thanks.
Comment 33 duha.bugs 2024-05-23 23:00:53 UTC
I created a new bug report: https://bugs.kde.org/show_bug.cgi?id=487452
Just CC to the bug report if you want to be involved in the debugging in the issue.


@Cullmann I added you to the CC list. This bug affects so far only neon. I cannot reproduce on Arch either, neither with system packages nor with git master.
Comment 34 Bruno Santos 2024-05-29 15:02:06 UTC
Hello!

I'm using Neon Testing.

I used Breeze-Dark forever, but today while working in a very bright environment I had to change to Breeze (light), and all the Breeze icons are missing.

I noticed that I had breeze-icons-installed and kf6-breeze-icon-theme, for some reason apt doesn't show any conflict if I have both packages installed... dpkg -L shows that only kf6-breeze-icon-theme has index files for breeze and breeze-dark. But I also only have Breeze Dark listed in System Settings.

I think I had mistakenly closed this bug by mistake while trying to subscribe to it, sorry for that. :-\

kf6-breeze-icon-theme is at 6.2.80xneon20240522+p22.04+vstable+git20240522.2037-0 but maybe this is an issue somewhere else?
Comment 35 Stephan Diestelhorst 2024-06-05 08:34:36 UTC
Note that this error (or related) prevents applications like discover from running it seems like:

$ killall plasma-discover
$ plasma-discover
kf.config.core: Created a KConfigGroup on an inaccessible config location ":/icons/breeze/index.theme" "Icon Theme"
kf.config.core: Created a KConfigGroup on an inaccessible config location ":/icons/breeze/index.theme" "Icon Theme"
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true

(process:9672): GLib-GObject-WARNING **: 09:31:18.973: cannot register existing type 'SoupMessage'

(process:9672): GLib-GObject-WARNING **: 09:31:18.973: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(process:9672): GLib-CRITICAL **: 09:31:18.973: g_once_init_leave: assertion 'result != 0' failed

(process:9672): GLib-GObject-WARNING **: 09:31:18.973: ../../../gobject/gsignal.c:1760: parameter 1 of type '<invalid>' for signal "SoupSession::request-queued" is not a value type

=> and then no window opens up

This is with the theme set to dark, but colours set to light so that I get to see the icons.
Comment 36 Adrien Beau 2024-06-06 05:54:45 UTC
The issue has been fixed and new packages have been released.

If you still see the issue, please ensure your packages are up-to-date,
your settings are correct, then open a new bug report.
Comment 37 Stephan Diestelhorst 2024-06-06 20:52:33 UTC
Thanks for the update, @Adrien.  I am on Neon Testing, and I am not quite sure whether I am behind, or ahead of the curve.  My packages that seem relevant are the following:

$ apt policy kf6-kiconthemes kf6-breeze-icon-theme
kf6-kiconthemes:
  Installed: 6.2.0+p22.04+vstable+git20240603.0205-0
  Candidate: 6.2.0+p22.04+vstable+git20240603.0205-0
  Version table:
 *** 6.2.0+p22.04+vstable+git20240603.0205-0 500
        500 http://archive.neon.kde.org/testing jammy/main amd64 Packages
        100 /var/lib/dpkg/status
kf6-breeze-icon-theme:
  Installed: 6.2.80xneon20240522+p22.04+vstable+git20240522.2037-0
  Candidate: 6.2.80xneon20240522+p22.04+vstable+git20240522.2037-0
  Version table:
 *** 6.2.80xneon20240522+p22.04+vstable+git20240522.2037-0 500
        500 http://archive.neon.kde.org/testing jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Looking at the merge request for the main fix and the version that is installed, I seem to be behind the curve (or rather Neon Testing is ;) ).