Anyone else having issues with Kvantum correctly applying themes to QT applications (e.g qBittorrent) under Gnome after this update? The dark themes apply, partially, and sections of the application windows are left white., with some text washed out and unreadable.
Downgrading the KVantum package didn’t resolve it, nor did switching to different themes. I can only presume it is an issue with one of the dependencies the package relies on, but haven’t got around to downgrading them one by one yet.
Whatever the theme I use, it always returns “kvantum” (that was not the case with the previous version of qgnomeplatform), despite it’s correctly set in kvantum config :
/etc/environment :
#
# This file is parsed by pam_env module
#
# Syntax: simple “KEY=VAL” pairs on separate lines
#
CALIBRE_USE_DARK_PALETTE=1
QT_QPA_PLATFORMTHEME=“gnome”
QT_STYLE_OVERRIDE=“kvantum”
QT_AUTO_SCREEN_SCALE_FACTOR=1
Note :
Trying to override style I got this error :
Available styles: Adwaita-Dark, Adwaita, kvantum-dark, kvantum, Windows, Fusion
I set QT_STYLE_OVERRIDE to kvantum-dark and now evrything is fine … at least with dark theme
So it seems that the real Kvantum theme is not fully taken into account as it was the case in the previous version where I got the real theme name and not “kvantum-dark”
With the last qgnomeplatform I get :
qt.qpa.qgnomeplatform: Icon theme: “Papirus-Dark”
qt.qpa.qgnomeplatform: Theme name: “kvantum-dark” (QT_STYLE_OVERRIDE)
With the previous qgnomeplatform :
qt.qpa.qgnomeplatform: Icon theme: “Papirus-Dark”
qt.qpa.qgnomeplatform: Theme name: “Adwaita-blue-dark” (gtk theme used)
So qgnomeplatform in its last version doesn’t check the real gtk theme name but seems to fallback to the value of QT_STYLE_OVERRIDE that’s why dark theme are "OK " when I set it to kvantum-dark
Ok I had a look at the code
If I unset QT_STYLE_OVERRIDE gtk theme is used :
qt.qpa.qgnomeplatform: Icon theme: “Papirus-Dark”
qt.qpa.qgnomeplatform: Theme name: “WhiteSur-dark-solid”
But the look isn’t exactly the same, better when I set QT_STYLE_OVERRIDE to kvantum-dark to my taste …
I’m new to Manjaro, how would I go about downgrading the package? I’ve looked online and I can’t find a .tar.gz file that works and the file isn’t in my pacman cache.
Running sudo downgrade qgnomeplatform gave me a message about setting an environment variable, which I did, and then just prompted to redownload the original version. I had a look on the Arch Linux Repo Archives and I couldn’t find the old version of qgnomeplatform.
I managed to solve it another way following what was said in this forum post from last year (I had a link here but I can’t include links in my replies apparently) by adding the flag QT_QPA_PLATFORMTHEME=qt5ct to ~/.profile.
Thanks for the help anyway and responding so quickly
Well, I couldn’t get my setup to play nicely with the latest qgnomeplatform package, despite @ethan_the_ethan helpful suggestions, so I just uninstalled it. The QT apps appear to be taking the kvantum themes well enough without it, so hopefully I am not missing anything by not having it installed.
I have just noticed that I am having the same problem. I use very few Qt programs, but when I loaded Calibre, the main interface was virtually unreadable.