Page MenuHome GnuPG

No tray icon for Kleopatra in dark mode on Windows.
Testing, NormalPublic

Description

If the system wide "Dark Mode" is enabled on Windows, Kleopatra's tray icon is not shown. It is shown after switching back to "Light Color Mode". Tested on Windows 10 Build 22H2.

Details

Version
vsd-3.2.1

Event Timeline

werner triaged this task as Normal priority.Jan 10 2024, 8:54 AM
werner created this task.

Possible reason: There's a kleopatra.svg in breeze-icons/icons, but there's none in breeze-icons/icons-dark.

KIconTheme sets the fallback theme name to breeze, but those icons cannot be found because we only load the icon theme RCC for breeze-dark. I think we need to load both RCC files in dark mode. No, that doesn't work.

I think we need to add all breeze icons that have no equivalent in breeze-dark to breeze-dark before creating the breeze-icons-dark.rcc.

One more data point: breeze-icons installs a copy of all breeze icons that do not exist in breeze-dark in the breeze-dark icons folder. So, with icon files on disk breeze-dark has all icons that breeze has even without using breeze as fallback icon theme. Looks like an oversight that the breeze-dark RCC generated by breeze-icons doesn't include missing breeze icons.

ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

And another note: In KF6 icon inverting happens automatically in ksvg or so, so that we don't need to ship breeze-dark anymore. And there will be a BreezeIcons library including the icons that can be used instead of the RCC file. This means we just need a quick fix for VSD and not a general solution for upstream.

ikloecker mentioned this in Unknown Object (Event).Jan 15 2024, 8:57 AM
ikloecker changed the task status from Open to Testing.Jan 15 2024, 10:42 AM

All icons that are available in normal/light mode should now also be available in dark mode.

ikloecker mentioned this in Unknown Object (Event).Jan 22 2024, 9:39 AM