Skip to content

Not re-coloring icons in Discover when COSMIC theme is selected #19

Description

@adil192

I was testing cosmic's qt theming today and found my Discover store is unthemed: it's not following my theme's green colors and has dark-on-dark icons.
After compiling and reinstalling cutecosmic from source, Discover got themed, but the icons were still dark-on-dark.

It could also be a conflict between cutecosmic and my recently merged qt styling in libcosmic pop-os/libcosmic#1121. If so, I'd like to fix it.

Behaviour:

  • cutecosmic inverts the icons of Ark but not Discover. cutecosmic is using the COSMIC icons since that's what I've got in my system settings.
  • qt6ct doesn't invert anything but switches between breeze and breeze-dark icons.
  • If either breeze or breeze-dark are selected in system settings, cutecosmic correctly inverts them when necessary. But it can't invert COSMIC/Pop/GNOME icons (except in Ark.)

Screenshots

QT_QPA_PLATFORMTHEME="cosmic" ark:

QT_QPA_PLATFORMTHEME="cosmic" plasma-discover:

For reference, this is the pop-os/libcosmic#1121 qt6ct theme which uses breeze and breeze-dark icons for light and dark themes respectively.

QT_QPA_PLATFORMTHEME="qt6ct" plasma-discover:

Package versions

I'm using these packages from Fedora:

  • ark: 25.12.2-2.fc43
  • breeze-icon-theme: 6.23.0-1.fc43
  • cutecosmic-qt6: 0.1^git20251110.1469fa3-1.fc43
  • plasma-breeze: 6.6.0-1.fc43
  • plasma-discover: 6.6.0-1.fc43
  • qt6-qtbase: 6.10.1-3.fc43

Qt libs

Ark appears to be using the same qt libs as Discover.

ahann@fedora:~$ ldd /usr/bin/ark | grep Qt
	libQt6Widgets.so.6 => /lib64/libQt6Widgets.so.6 (0x00007f6de1a00000)
	libQt6Gui.so.6 => /lib64/libQt6Gui.so.6 (0x00007f6de0e00000)
	libQt6Core.so.6 => /lib64/libQt6Core.so.6 (0x00007f6de0600000)
	libQt6DBus.so.6 => /lib64/libQt6DBus.so.6 (0x00007f6de0d25000)
	libQt6Network.so.6 => /lib64/libQt6Network.so.6 (0x00007f6ddfa00000)
	libQt6Xml.so.6 => /lib64/libQt6Xml.so.6 (0x00007f6de182a000)
	libQt6PrintSupport.so.6 => /lib64/libQt6PrintSupport.so.6 (0x00007f6ddf980000)
	libQt6WaylandClient.so.6 => /lib64/libQt6WaylandClient.so.6 (0x00007f6dde254000)
ahann@fedora:~$ ldd /usr/bin/plasma-discover | grep Qt
	libQt6WebView.so.6 => /lib64/libQt6WebView.so.6 (0x00007f3bb5c21000)
	libQt6Widgets.so.6 => /lib64/libQt6Widgets.so.6 (0x00007f3bb5200000)
	libQt6Quick.so.6 => /lib64/libQt6Quick.so.6 (0x00007f3bb4a00000)
	libQt6Qml.so.6 => /lib64/libQt6Qml.so.6 (0x00007f3bb4200000)
	libQt6Gui.so.6 => /lib64/libQt6Gui.so.6 (0x00007f3bb3600000)
	libQt6DBus.so.6 => /lib64/libQt6DBus.so.6 (0x00007f3bb40a3000)
	libQt6Core.so.6 => /lib64/libQt6Core.so.6 (0x00007f3bb2e00000)
	libQt6QuickControls2.so.6 => /lib64/libQt6QuickControls2.so.6 (0x00007f3bb2de8000)
	libAppStreamQt.so.3 => /lib64/libAppStreamQt.so.3 (0x00007f3bb2d19000)
	libQt6Concurrent.so.6 => /lib64/libQt6Concurrent.so.6 (0x00007f3bb51f5000)
	libQt6Network.so.6 => /lib64/libQt6Network.so.6 (0x00007f3bb2000000)
	libQt6QmlMeta.so.6 => /lib64/libQt6QmlMeta.so.6 (0x00007f3bb2c7a000)
	libQt6QmlModels.so.6 => /lib64/libQt6QmlModels.so.6 (0x00007f3bb1ed3000)
	libQt6OpenGL.so.6 => /lib64/libQt6OpenGL.so.6 (0x00007f3bb1e23000)
	libQt6Xml.so.6 => /lib64/libQt6Xml.so.6 (0x00007f3bb268d000)
	libQt6QuickTemplates2.so.6 => /lib64/libQt6QuickTemplates2.so.6 (0x00007f3bb0600000)
	libQt6QmlWorkerScript.so.6 => /lib64/libQt6QmlWorkerScript.so.6 (0x00007f3bb0937000)
	libQt6WaylandClient.so.6 => /lib64/libQt6WaylandClient.so.6 (0x00007f3bac6d7000)
ahann@fedora:~$ strings /lib64/libQt6Core.so.6 | grep "Qt 6"
Qt 6.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.2.1 20251211 (Red Hat 15.2.1-5))
QMetaObject::indexOf%s: argument "%s" is not normalized, because it contains "QVector<". Earlier versions of Qt 6 incorrectly normalized QVector< to QList<, silently. This behavior is deprecated as of 6.10, and will be removed in a future version of Qt.
ahann@fedora:~$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions