Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark styling of Qt flatpak apps is completely broken #177

Closed
ghost opened this issue Sep 12, 2022 · 8 comments
Closed

Dark styling of Qt flatpak apps is completely broken #177

ghost opened this issue Sep 12, 2022 · 8 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2022

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:

flathub/org.kde.KStyle.Adwaita#10

The default light styling works fine.

System Information:

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

@grulja
Copy link
Collaborator

grulja commented Sep 20, 2022

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
Copy link

UmarJ commented Sep 24, 2022

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
Copy link
Author

ghost commented Sep 24, 2022

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
Copy link

I also have this issue
image

@grulja
Copy link
Collaborator

grulja commented Sep 27, 2022

I also have this issue image

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

@julianfairfax
Copy link

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
Copy link

struq commented Dec 1, 2022

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
Copy link
Collaborator

grulja commented Dec 7, 2022

Duplicate of #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 grulja closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants