Bug 492324 - KDE Apps do no apply theme/color correctly when XDG_CURRENT_DESKTOP is not kde
Summary: KDE Apps do no apply theme/color correctly when XDG_CURRENT_DESKTOP is not kde
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kcolorscheme
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-28 15:30 UTC by Henri Gasc
Modified: 2024-09-16 16:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Apps interfaces examples, with and without KDE as desktop (562.90 KB, image/png)
2024-08-28 15:30 UTC, Henri Gasc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Gasc 2024-08-28 15:30:30 UTC
Created attachment 173046 [details]
Apps interfaces examples, with and without KDE as desktop

SUMMARY
Some applications are not correctly applying colors is XDG_CURRENT_DESKTOP is not set to kde. I encountered this under Gentoo and Debian 12, using botyh Hyprland and i3. I had this problem for Dolphin, Okular, Ark, KColorChooser KCharSelect, KDE PartionManager, and other; in short almost all kde apps.
Most of those apps just do not follow the KDE theme, while other do it partially. Most of the time it is a minor inconvenience, but for other (Dolphin in specific) it is horrible.

STEPS TO REPRODUCE
1. Set Plasma theme to a dark one (easier to see differences then)
2. Install Dolphin
3. Launch Dolphin with XDG_CURRENT_DESKTOP != kde

OBSERVED RESULT
Themes are not respected (see attachments)

EXPECTED RESULT
Themes should be respected

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I also reproduced this behaviour under plasma with the command 'XDG_CURRENT_DESKTOP=dqbzha dolphin'
I also had the dolphin problem under plasma 5 (and probably the others too, but I do not remember)
Comment 1 Henri Gasc 2024-09-16 16:34:00 UTC
Fixed on version 24.08.1