Open Eonfge opened 2 years ago
Was this working before or is this a new issue?
Yes. I can roll back to the pre-22.08 version with this command and then I get the dark-mode back
sudo flatpak update --commit=caaa3fc438f7808badb445cf0dcbcc77aef574ff5757e07d0544e30bd56ba313 org.qbittorrent.qBittorrent
Could this be the same issue as https://github.com/flathub/org.kde.PlatformTheme.QGnomePlatform/issues/7 ?
i.e. @Eonfge do you have org.kde.WaylandDecoration.QGnomePlatform-decoration or org.kde.PlatformTheme.QGnomePlatform installed?
Quite a few;
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 5.15-21.08 flathub system
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 6.2 flathub system
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 6.3 flathub system
QGnomePlatform-decoration org.kde.WaylandDecoration.QGnomePlatform-decoration 5.15-21.08 flathub system
QGnomePlatform-decoration org.kde.WaylandDecoration.QGnomePlatform-decoration 6.2 flathub system
QGnomePlatform-decoration org.kde.WaylandDecoration.QGnomePlatform-decoration 6.3 flathub system
Could you try installing the 5.15-22.08 branch for both of these and downgrading qbittorrent back to commit 997c137fc8fa75c2ba2d2b0e6a85ea3e9aa4ae28940f8b7dd755cec8013a92aa
which uses the 5.15-22.08 runtime, to see if things work?
Was already working on it!
I installed 5.15-22.08 and switched QBittorrent to 997c137fc8fa75c2ba2d2b0e6a85ea3e9aa4ae28940f8b7dd755cec8013a92aa
, and I now have dark themes!
Perhaps something wrong with the dependencies for KStyle Adwaita?
In other news, I found a second application Proton Up that uses KDE 6.3 and that application also doesn't adhere to KStyle Adwaita. Is that related or different?
Kstyle adwaita is just a qt theme: it's not loaded by default and you have to use env vars like QT_STYLE_OVERRIDE=Adwaita-dark
or arguments -style Adwaita-dark
. However qgnomeplatform is loaded by default under GNOME and doesn't need kstyle Adwaita to work(the style is bundled).
is this fixed?
As a follow-up to #11, I must inform that the theme is not loading properly for Qbittorrent.
Qbittorrent
Adwaita
When using another Qt application like kid3, it does work. For reference, my host system is Fedora 36 Workstation, with dark-theme enabled.
Testing
I looked at the documentation of Adwaita-qt and I found that I have to manually start the application with
-style Adwaita-dark
for it to take effect. Not sure what the appropriate cause of action would be here, but I do hope that this can be fixed. Should I report it upstream?