Session: replace a Qt platform theme whose plugin isn't installed
CI / test (push) Successful in 2m10s
CI / test (push) Successful in 2m10s
QT_QPA_PLATFORMTHEME=gnome left in the environment without QGnomePlatform made Qt load no platform theme, so KF6 apps got a light Breeze palette while the Breeze style and Dolphin's view read the dark kdeglobals colors: Dolphin's rows alternated near-black (with dark text) and light. chandra-session now keeps a preset theme only if its plugin exists for Qt 6 or 5, else picks kde / xdgdesktopportal as before. Reproduced and checked with Dolphin 26.08 / Qt 6.11 / KF 6.32 headless. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hivwxSsQ56aGGv4cFQ
This commit is contained in:
2 files changed
+24
-2
No files matched your search
+3
-1
@@ -40,7 +40,9 @@ So now:
|
||||
Chandra's own `ChandraDark` / `ChandraLight` (`session/color-schemes`, installed to
|
||||
`/usr/local/share/color-schemes`, from the Moon Night / Moon Day palettes). Other kdeglobals
|
||||
settings (fonts, icons) are kept.
|
||||
- `chandra-session` sets `QT_QPA_PLATFORMTHEME`, unless you set it yourself (qt6ct, say): `kde`
|
||||
- `chandra-session` sets `QT_QPA_PLATFORMTHEME`, unless you set it yourself (qt6ct, say) to a
|
||||
theme whose plugin is installed (a leftover `gnome` without QGnomePlatform is replaced: Qt then
|
||||
loads no theme, and Dolphin mixes a light palette with dark kdeglobals rows): `kde`
|
||||
when KDE's platform theme is installed (package `plasma-integration`; it reads kdeglobals and
|
||||
repaints live when the switch flips), else `xdgdesktopportal` (Qt 6.5+ follows the portal's
|
||||
color-scheme; KDE Frameworks 6 apps then load Breeze Dark/Light, which need the `breeze` color
|
||||
|
||||
Reference in new issue
Block a user