Taiko2k/Avvie

[Bug] Dark theme not working

demeralde opened this issue · 10 comments

I have the dark theme set on my machine. It works with all apps but this one:

![Dark theme not working](https://user-images.githubusercontent.com/9282837/94352339-d1d48580-00a2-11eb-8b78-44e6a1937c5e.pn g)

I checked the settings and there doesn't seem to be a way to switch to a dark theme. The screenshot in the README is dark, so I'm not sure why this doesn't work.

Environment

  • Ubuntu 20.04.1 LTS
  • Gnome 36.36.3
  • Regolith 2.63-1focal1

Its actually intended to be dark theme only. I don't think there's any issue with Avvie.

I believe this is an issue related to Flatpak when you use a custom theme that isn't also packaged for Flatpak, it defaults to Adwaita light. Could be considered a bug, though you can also solve the issue by getting your theme packaged for Flatpak (on Flathub).

@Taiko2k just looked into that and struggling to do so.

I installed org.gtk.Gtk3theme.Adwaita-dark. But I don't know how to configure flatpak to use it. I've tried looking online with no luck. Do you have any ideas?

If you have your custom system theme applied, then running flatpak update should automatically install it if available. Though Adwaita-dark should be built in by default. Are you running a custom theme, or the default Adwaita?

@Taiko2k hmm, flatpak update didn't work.

I'm not using a custom theme. I'm using Ubuntu's default dark theme in the system settings. Although I'm also using Regolith, which is basically a custom i3 setup for Ubuntu (maybe this has some theming config that's messing with it)?

Just did a test with latest vanilla Ubuntu 20.04 and seems to be working as expected.

Screenshot from 2020-09-27 18-16-40-cropped

So likely something to do with your configuration.

@Taiko2k hmm strange. Maybe a reboot or something will fix it. I'll figure it out eventually

Try the permissions command, that fixed themeing issues for me.

@SuperZoops what's the name of the permission you used with permission-set?

I believe this is an issue related to Flatpak when you use a custom theme that isn't also packaged for Flatpak, it defaults to Adwaita light. Could be considered a bug, though you can also solve the issue by getting your theme packaged for Flatpak (on Flathub).

It's GTK doing it. It shouldn't be an issue with libadwaita or libhandy.

This probably isn't reverent any more with the switch to Adwaita I assume. Ill close this.