adwaita-qt
adwaita-qt copied to clipboard
Dark styling of Qt flatpak apps is completely broken
With current version of kstyle adwaita, Qt apps like akregator look completely broken when dark mode is enabled.

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
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?
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.
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.

I also have this issue

I also have this issue
This doesn't look like Adwaita theme. It's most likely Material style from QML.
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.
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
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.