Bug 455564 - Plasma 5.25 accent color's won't stick in Dolphin
Summary: Plasma 5.25 accent color's won't stick in Dolphin
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: 22.04.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 19:26 UTC by Michał Dybczak
Modified: 2022-06-20 20:17 UTC (History)
1 user (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 Michał Dybczak 2022-06-18 19:26:08 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Go to color settings
2. Enable colors from the current wallpaper or a chosen accent color
3. See how the color of breeze folder icons changes
4. Close Dolphin.
5. Open Dolphin and see that the icons reverted to default blue on Breeze.

OBSERVED RESULT

Colors from wallpaper are not applied to Dolphin. Moreover, on icon task manager on latte dock, the Dolphin icon also reverts to blue, although for a brief moment it is colored with wallpaper color, or at least it worked in previous session, now it won't change the color at all. The same issue is with accent color. Close/open Dolphin and see the folder's in default blue.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.5-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Alienware
Product Name: Alienware 17 R3
System Version: 1.7.0

ADDITIONAL INFORMATION
I suspect some config issue, but I don't know where colors config is. I tried defaulting Dolphin's config, but that didn't help.
This is a 7 years old OS install, so if config is at fault, the update mechanism failed to update existing config. In my test user, it looks as if everything worked as intended, the wallpaper's color sticks, which strongly indicates config issue.

Where are the color's config possibly stored or named?
Comment 1 Michał Dybczak 2022-06-18 20:44:26 UTC
I checked various desktop themes and they have COLORS file in .local/share/plasma/desktoptheme/

However, I think there should be also /default/ folder, so if Breeze is selected, proper COLORS file will be generated. Since there is no such folder there, the settings won't stick. Am I right?

If so, what should I do? Create this folder manually? I tried, and it changed nothing, files are not generating in it, when changing colors settings when having Breeze icons. So maybe I'm wrong about the default folder? If not that, then what?
Comment 2 Michał Dybczak 2022-06-20 16:49:21 UTC
I run systemsettings in terminal, applied the accent color and here is the result:

qt.svg: link #path2410 is undefined!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qt.svg: link #path2410 is undefined!
qt.svg: link #path2410 is undefined!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib/qt/qml/org/kde/kirigami.2/PlaceholderMessage.qml:235:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/share/kpackage/kcms/kcm_colors/contents/ui/main.qml:85:13: QML ColumnLayout: Cannot anchor to an item that isn't a parent or sibling.
qml: The item SubCategoryPage_QMLTYPE_103(0x561c32aa3bf0) is already in the PageRow

It obviously shows some qml issue with the color, but I just can't understand it. Any idea how to debug it further?
Comment 3 Michał Dybczak 2022-06-20 19:15:02 UTC
Additional info:

Actually, the accent color is applied correctly to the system. I see it on the quick launch, I see it on kde dialogs. The only issue with it have Dolphin. I already tried deleting various Dolphin configs (dolphinrc, UserFeedback.org.kde.dolphin.conf) , and nothing helped.

I'm changing the title of this report.
Comment 4 Michał Dybczak 2022-06-20 20:17:18 UTC
I found the issue. It was a exec command that I set years ago (and forgot about it):

QT_STYLE_OVERRIDE=kvantum dolphin %u

I defaulted it to dolphin %u and the issue is solved. Closing the topic.