When I activate DnD mode for notifications, the bell icon disappears, probably due to a missing icon in the theme.
Which icon theme are you using? Can you attach a screenshot showing the issue?
Created attachment 135699 [details] The notification icon, when DnD modus is NOT enabled
Thanks. And what icon theme are you using?
I am actually using the Oxygen icon theme, but the last time I reported a bug about the monochrome tray icons, it was reassigned to the Breeze theme.
Aha, thanks. So what should happen is that Oxygen falls back to Breeze. It looks like that's happening for the regular icon. But I wonder why it's not happening for the DnD icon? Can you switch your Plasma theme to Breeze temporarily and see if that fixes it? Tray icons actually come from the Plasma theme, if possible.
With Breeze I see the icon in DnD mode. And I see it in the notification pane, where it was missing as well. With Oxygen, HighContrast and Adwaita I do not see it. With Flatery-Blue (some thirdparty theme) I see the Breeze icon. With Adwaita the buttons in buttons, like "apply", do not have icons either. I am not sure if the theme configures that there are no icons on the buttons or if the fallback is not working for the buttons, too.
Sorry, I changed the Icon theme. And not the plasma theme. Now I did not change the icon theme, but the plasma theme (so I have icons=oxygen, plasma=breeze) and the icon is missing again.
Okay, I understand what's going on here now. When you use the Oxygen Plasma theme, the notifications applet asks for the notifications-disabled icon, which isn't present in the Plasma theme. No problem; it falls back to the icon theme. But since your icon theme is Oxygen, that also doesn't have the notifications-disabled icon in it! At this point it's stuck and no icon is found. That's why when you use the Breeze icon theme it works: it's falling back to the icon theme which has that icon in it. But there is a real bug here: when it falls back to Oxygen and doesn't find the icon, it isn't capable of falling back once more to Breeze to find the icon, which is the fallback specified in the Oxygen icon theme. This fallback from one icon theme to another works when an app asks for an icon directly from the icon theme, but not when Plasma asks for an icon from the Plasma theme and then it falls back to the icon theme. It should fall back a second time, but doesn't. In the meantime, if either the Oxygen icon or Plasma theme gains an Oxygen-style version of this icon, it will be fixed for you.
My usual plasma theme is Aya and I guess it may have less maintenance than Breeze and Oxygen. A fallback to a safe default (should it be breeze or should there be some fallback icon provided by plasma itself without any theme?) would be nice.
That could work too: first fall back to the icon in the Breeze plasma theme, and if nothing is found, fall back to the active icon theme. Personally I think we should remove icons from Plasma themes entirely in KF6 and only have icons in the icon theme. This would be way less confusing to users and prevent bugs like this automatically.
*** Bug 439962 has been marked as a duplicate of this bug. ***
(In reply to Nate Graham from comment #10) > Personally I think we should remove icons from Plasma themes entirely in KF6 > and only have icons in the icon theme. This would be way less confusing to > users and prevent bugs like this automatically. As long as this allows distinct icons for the plasma style, this should be acceptable. Oxygen and Air are the styles that come to mind. Rules for the style would have to be much stricter since the line between icon and widget is fuzzy at best. Of course, the task of making a theme would become much more daunting from the current smaller set of assets.
This problem is being "solved" by being made no longer possible to happen at all in Plasma 6. This is because in Plasma 6, icons in the Plasma theme will no longer be used; all icons will come from the icon theme. If there is still a valid case for using different icons but only in Plasma, we can re-add that feature by having KIconLoader load icons from a completely different theme for Plasma. See https://invent.kde.org/plasma/plasma-desktop/-/issues/82.