Bug 493384 - Dolphin ignores settings set by qt6ct
Summary: Dolphin ignores settings set by qt6ct
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-19 20:54 UTC by peacemaker3110
Modified: 2025-02-03 00:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peacemaker3110 2024-09-19 20:54:44 UTC
SUMMARY
Since version 24.8.0 dolphin ignores settings set by qt6ct, which is used to set defaults for qt apps when running them outside of kde.
Settings like single click to open files/folders, and the theme are ignored, looks like they're being set to default value.
Changing the theme gives a strange mix of colors, but doesn't change it like it soould.
The toolbar button layout is preserved.
I run sway and have observed this only in dolphin, other kde applications respect the set theme, not sure about other settings.

STEPS TO REPRODUCE
1. Set files to open with a single click in qt6ct, when running outside kde.
2. Set QT_QPA_PLATFORMTHEME=qt6ct
3. Run dolphin.
4. The settings are ignored.
Comment 1 80p3fy75dc 2024-09-20 08:51:20 UTC
Very similar to https://bugs.kde.org/show_bug.cgi?id=492593
Comment 2 80p3fy75dc 2025-01-31 10:55:51 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 3 80p3fy75dc 2025-01-31 11:11:16 UTC
Also works on my Arch Linux install with AwesomeWM / Dolphin 24.12.1 / qt6ct-kde (AUR) and Kvantum 1.1.3.
Comment 4 peacemaker3110 2025-02-03 00:01:04 UTC
I also managed to fix this.
In the KDE system settings you go to: Colors & Themes > Application Style, and there you can select the qt6ct-style, which will have the settings set in qt6ct.
To make dolphin follow the correct color scheme, i also edited ~/.config/dolphinrc and added this:
[UiSettings]
ColorScheme=*

So i think this can be marked as fixed.