Bug 492593 - Regression: Theme icons are not applied when running outside of Plasma
Summary: Regression: Theme icons are not applied when running outside of Plasma
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 13:11 UTC by Tom
Modified: 2025-01-31 11:11 UTC (History)
3 users (show)

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


Attachments
This shows the 2 different versions side by side. (289.55 KB, image/jpeg)
2024-12-06 14:16 UTC, Harshit Tomar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2024-09-03 13:11:21 UTC
SUMMARY
Theme icons are not applied when Dolphin runs **outside** of Plasma DE. I've tested Hyprland.
Within Plasma, no problem.

24.05.2 is the last version of Dolphin that worked and downgrading to this version fixes the problem!
I've confirmed this bug with other (Hyprland) users. 

STEPS TO REPRODUCE
1. Set custom icon theme
2. Start Hyprland
3. Start Dolphin

OBSERVED RESULT
Default icons are shown

EXPECTED RESULT
Custom icons should be shown

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 80p3fy75dc 2024-09-04 10:57:05 UTC
Can confirm on Arch and Gentoo with AwesomeWM.

Downgrading to 24.05 solves the issue.
Comment 2 Harshit Tomar 2024-12-06 14:13:31 UTC
Can confirm, for me on AwesomeWM on Arch the text and icons are all black and do not respect the qt6ct applied theme (which is kvantum for me). Downgrading to v24.05.2 also fixes it for me.

One other thing that I noticed was that changing Application Style from kvantum to something else and back again solves the issue but only for instances opened at that time and any new instances are unaffected.
Comment 3 Harshit Tomar 2024-12-06 14:16:28 UTC
Created attachment 176394 [details]
This shows the 2 different versions side by side.
Comment 4 80p3fy75dc 2025-01-31 10:54:55 UTC
I solved the issue by using this qt6ct patch provided by qt6ct-kde AUR package (https://aur.archlinux.org/packages/qt6ct-kde).

After applying the patch (tested on Gentoo / AwesomeWM / Dolphin 24.08.3 / qt6ct 0.9 / Kvantum 1.1.2):

1. Open qt6ct
2. In Appearance tab > Palette, choose "Custom" and in "Color scheme:" select your usual Kvantum color scheme (which now contains "(KColorScheme)" in its name
3. Open Dolphin, the theme (Monochrome in my case) and icons (Papirus-Dark in my case) are now correctly rendered
Comment 5 80p3fy75dc 2025-01-31 11:11:35 UTC
Also works on my Arch Linux install with AwesomeWM / Dolphin 24.12.1 / qt6ct-kde (AUR) and Kvantum 1.1.3.