FedoraQt / adwaita-qt

A style to bend Qt applications to look like they belong into GNOME Shell
Other
488 stars 48 forks source link

Dark styling of Qt flatpak apps is completely broken #177

Closed ghost closed 1 year ago

ghost commented 1 year ago

With current version of kstyle adwaita, Qt apps like akregator look completely broken when dark mode is enabled.

grafik

I originally had opened an issue foe Kstyle Adwaita but got redirected to this project. The original bug report can be found here:

https://github.com/flathub/org.kde.KStyle.Adwaita/issues/10

The default light styling works fine.

System Information:

OS: Fedora 36 KDE Runtime: 5.15-21.08 Desktop: Gnome 42

grulja commented 1 year ago

It looks like the dark variant is not being picked up. Where did you configure your dark theme? In GNOME Control center or gnome-tweaks?

UmarJ commented 1 year ago

Same problem on Arch Linux (pacman, not flatpak). I am using qt5ct to configure the theme since I don't use a DE. Launching the application with akregator -style Adwaita-Dark doesn't work either.

I've tried other KDE Qt 5 applications as well. qBittorrent, which uses Qt 6, works though. So it's either a KDE problem or a Qt 5 problem.

EDIT: This has been a problem for at least a month and a half, if I recall correctly.

ghost commented 1 year ago

It looks like the dark variant is not being picked up. Where did you configure your dark theme? In GNOME Control center or gnome-tweaks?

I changed it in the Gnome Control Center.

grafik

julianfairfax commented 1 year ago

I also have this issue image

grulja commented 1 year ago

I also have this issue image

This doesn't look like Adwaita theme. It's most likely Material style from QML.

julianfairfax commented 1 year ago

That is correct. It seems that wasn't installed. However, after installing the Flatpak version, I still experience this issue with the app above (OSM Scout Server). Other apps now use the correct theme, but this issue persists.

struq commented 1 year ago

I'm also seeing this issue on some KDE apps such as Okular, but not all of them, regardless of flatpak or not. The problem seems to be that the affected apps are always using the Breeze color scheme instead of picking up the color scheme provided by adwaita-qt. See: https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/94 https://invent.kde.org/graphics/okular/-/merge_requests/461

grulja commented 1 year ago

Duplicate of https://github.com/FedoraQt/adwaita-qt/issues/151.

I'm also seeing this issue on some KDE apps such as Okular, but not all of them, regardless of flatpak or not. The problem seems to be that the affected apps are always using the Breeze color scheme instead of picking up the color scheme provided by adwaita-qt. See: https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/94 https://invent.kde.org/graphics/okular/-/merge_requests/461

Thanks for link to the merge request, I will try to test it and backport to Fedora at least.