Some applications do not follow Gnome dark/light theme

The default theme in manjaro gnome does not play well with some QT apps. On a vanilla system (booted from a live stick), the following were the settings:

Tweaks and settings dialogs
  • https://paste.pics/11150e59cbb8974d009b247b95d38795
  • https://paste.pics/782b030bc7dd27a934b2a9c5076fc80c

Some apps will then be in dark mode even though the theme is light for apps:

App examples
  • https://paste.pics/9bc737d491db33c895288e0887c6d461
  • https://paste.pics/f2842b3bbca97e540eac66de71495895
  • https://paste.pics/f8950914eec4009d68b0ef5a9757561f

This does appear to be an issue with the manjaro config as those apps play nice with, for example, ubuntu gnome, i.e., use the light theme when the system theme is light.

I’ve tried changing a couple of the settings, for instance in gnome tweaks, but none of them consistently cue apps to use the light theme. Does anybody know how to address this?

In QT5/6 settings, in your launcher, they are configured separately unfortunately.

I have:

Palette: Custom
Color Scheme: darker

(For dark theme.)

Please see Some GTK apps on Gnome suddenly changed to other (bright) theme in the Stable Update 2024-08-20 announcement.


Hi @tobsh and welcome to the Manjaro community.

As a new user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit. To that end, some or all these links will be invaluable:

Last, but not least, the Stable Update Announcements, which you should check frequently for important update related information.

Cheers.

Thanks for the reply. I don’t see a difference in the apps I’ve now shown screencaps of in my original post. TBH I don’t know if all of them use QT.

Hi, thanks for pointing me to those links. I’ve updated the OP with links to the screenshots.

The legacy applications theme does not have an effect on Okular. gThumb at least does something, but only becomes completely light with the HighContrast theme. VLC only changes its window bar depending on that theme.

I guess the question is: where else does manjaro tweak Gnome compared to for instance ubuntu, where this is not an issue out of the box?

I don’t use Gnome; nor Ubuntu; so I have nothing overly constructive to add in terms of comparison. Specifically, which apps are affected? Please list them; this might be useful for others to know.

For the sake of troubleshooting, if you have any non standard themes installed:

1. Select and activate the default global theme for Manjaro.

2. Remove all traces of any foreign or non-standard themes that you may have installed.

3. Reboot, and then begin your investigations.

It’s possible that when these conditions are met, the issue I previously linked to may well be the culprit.

Good luck.

The apps that don’t follow the theme:

  • Okular
  • gThumb
  • VLC

as per the screenshots in the OP.

As I mentioned above, this is an issue with a clean install (tested on a live USB).

Did you install using the full Manjaro ISO?

Pardon my phrasing; I did not install to verify it’s not related to any customization, just booted from the live USB (and installed the apps on there). But yes, the full version.

Reaching for straws, as the saying goes; I understand the minimal ISO can be stripped down to the extent that some needed (or expected) software might not be installed; which is why I asked.

I suppose you checked the ISO for consistency after downloading. A damaged download could potentially cause all types of weirdness, and as you mention this manifests in the live environment (presumedly the same ISO you installed from), it’s a possibility.

I have nothing to add here; not being a Gnome user, I’m at a distinct disadvantage. I can only wish you luck. Cheers.

With gtk DEs the qt theme is configured in ct5ct, qt6ct and kvantum.

Set the style to kvantum or kvantum-dark in qt5ct and qt6ct (aka qt5 settings and qt6 settings) and set the theme in kvantum. Though I don’t use gnome so not sure if they have something else to do the job.

gthumb is presumably gtk, as the name suggests.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.