adwaita-qt icon indicating copy to clipboard operation
adwaita-qt copied to clipboard

Dark styling of Qt flatpak apps is completely broken

Open Sebastian-Hirsch opened this issue 3 years ago • 6 comments

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

Sebastian-Hirsch avatar Sep 12 '22 15:09 Sebastian-Hirsch

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?

grulja avatar Sep 20 '22 07:09 grulja

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.

UmarJ avatar Sep 24 '22 00:09 UmarJ

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

ghost avatar Sep 24 '22 10:09 ghost

I also have this issue image

julianfairfax avatar Sep 27 '22 04:09 julianfairfax

I also have this issue image

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

grulja avatar Sep 27 '22 05:09 grulja

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.

julianfairfax avatar Sep 27 '22 17:09 julianfairfax

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

struq avatar Dec 01 '22 08:12 struq

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.

grulja avatar Dec 07 '22 11:12 grulja