JoseExposito / touche

The desktop application to configure Touchégg
GNU General Public License v3.0
543 stars 26 forks source link

The System theme is not respected #59

Closed tio-trom closed 2 years ago

tio-trom commented 2 years ago

Using Arch + XFCE via Manjaro. Touche version 2.0.2-1.

This is how Touche looks on my system:

2022-01-13_13-57

The theme is not respected - I use a dark theme and Touche has a light theme. The window buttons are to the opposite side and they lack the maximize and minimize ones. This is a recent bug I think since it used to work well some 2 weeks ago.

Cheers!

JoseExposito commented 2 years ago

This is expected on Flatpak apps: https://docs.flatpak.org/en/latest/desktop-integration.html#theming

If you Google "flatpak themes" you'll find different guides about how to use your own theme.

To be honest, I have never applied a theme to a Flatpak application and I don't know if it is going to work, so do it at your own risk.

tio-trom commented 2 years ago

I am not using the flatpak version tho. Not from what I can tell. Manjaro has a reo package and a flatpak package. I have the repo one.

tio-trom commented 2 years ago

I have installed the AUR version https://aur.archlinux.org/packages/touche and I see them same issue. Are you saying that the AUR is using the flatpak?

JoseExposito commented 2 years ago

Are you saying that the AUR is using the flatpak?

No, I'm not saying that, the AUR version uses the native package, I assumed you were using Flatpak because it is a known "issue" of the platform.

This is a recent bug I think since it used to work well some 2 weeks ago.

That's interesting, the AUR package was updated on 2021-11-28, so the application shouldn't have changed... Unless one of its dependencies has changed. Probably libadwaita.

Do you have the same problem with other GNOME apps?

tio-trom commented 2 years ago

No, all of the Gnome apps respect the theme. Gnome Calculator, Gnome Boxes, Gnome Photos, and so forth. Touche is the only "weird" one.

JoseExposito commented 2 years ago

I believe those apps are not using libadwaita on Manjaro's repo. For the moment there is not much I can do until GNOME 42 enables a way to change between light and dark theme: https://www.omgubuntu.co.uk/2021/10/gnome-42-dark-style-preference

Closing the issue for the moment, I'll have to revisit it on a couple of months to make sure dark theme works.

tio-trom commented 2 years ago

Just a question: does it mean that when the gnome apps will use libadwaita there is no way to respect the system theme, only toggle between light and dark?

JoseExposito commented 2 years ago

Most likely, yes, but we will see how things evolve. In case you are curious, this is a good video explaining the situation: https://youtu.be/Pdx_MwcMtnM

tio-trom commented 2 years ago

Ah I see, This is sad. And very backwards for the end user at least. Thank you for the link!

yozachar commented 1 year ago

image

The close button (:red_circle:) is in the opposite direction in touche. Is that a bug?

jonathannerat commented 6 months ago

Just run into this problem as well, a quick-fix is to force the gtk theme by, for example, modifying the default .desktop file shipped: