Bug 501999 - Wrong usage of color scheme in header
Summary: Wrong usage of color scheme in header
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (show other bugs)
Version: 24.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-25 21:24 UTC by Madelina Owl
Modified: 2025-04-02 22:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/157101/events/1e8daaf5fc9d431789ecb296a70ad2a2/


Attachments
Color scheme used and the bug screenshot (24.72 KB, application/zip)
2025-03-25 21:24 UTC, Madelina Owl
Details
Mint Owl color scheme in Dolphin with correct colors (182.24 KB, image/png)
2025-04-01 21:26 UTC, TraceyC
Details
Bigger screenshot. Dolphin with Scratchy and MintOwl color scheme (162.84 KB, image/png)
2025-04-02 08:47 UTC, Madelina Owl
Details
dolphinui.rc file where the bug was not seen (4.18 KB, application/vnd.kde.kxmlguirc)
2025-04-02 22:02 UTC, TraceyC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Madelina Owl 2025-03-25 21:24:47 UTC
Created attachment 179735 [details]
Color scheme used and the bug screenshot

SUMMARY
After a recent update the arrangement changed inside the panel under the header bar. The path uses the View background, but Header normal text color. It looks fine under Breeze, but breaks under custom color schemes. Granted, it would technically be unsupported, but

STEPS TO REPRODUCE
1. Add MintOwl.colors from the attached archive to ~/.local/share/color-schemes/
2. Use the color scheme
3. The resulting colors should be wrong (demonstration on the image in the attached archive)

OBSERVED RESULT
The text should be black (as defined in View Text)

EXPECTED RESULT
The text is white (through changing the color scheme determined the color used is Header Normal Text)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Dolphin Version: 24.12.3

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-04-01 20:13:27 UTC
I'm not able to reproduce the white on light colors in Dolphin with the provided color scheme, or others
I tested with Plasma and Dolphin built from git-master as well as 

The global theme is Scratchy (a dark theme)
- Changed the color scheme to Amy-Light-Color (also tested Breeze Classic, Arc Dark and DexyLightColor)
- Checked Dolphin's location bar

Result: With light color themes, the text and separators in Dolphin's path bar are black on a light background
With dark color themes, the path is light text on a dark background

Testing the provided color scheme, I see black text on a light green background. I had installed it through 
Settings -> Colors & Themes -> Colors -> install from File

Can you try installing the Mint Owl theme through that method and let us know if you see the same result as when just manually moved to ~/.local/share/color-schemes/?

Also, I saw that the ColorScheme field might be incorrect in the Mint Owl theme .colors file:
[General]
ColorScheme=BreezeLight
Name=Mint Owl
TitlebarIsAccentColored=false
shadeSortColumn=true

In other .colors files I looked at, the ColorScheme name was similar to Name
Comment 2 TraceyC 2025-04-01 21:26:31 UTC
Created attachment 179917 [details]
Mint Owl color scheme in Dolphin with correct colors
Comment 3 Madelina Owl 2025-04-02 08:47:07 UTC
(In reply to TraceyC from comment #2)
> Created attachment 179917 [details]
> Mint Owl color scheme in Dolphin with correct colors

Tried installing it through the file and the result is the same (changed the name though, it was a personal theme that I didn't distribute anywhere that I based on Breeze Light) 
I've tried reproducing the result with Global Theme set to Breeze Dark and the result is the same.
Also, I've tried setting the Global Theme to Scratchy and then set the color theme with the same result.

I believe you aren't able to reproduce the result because the app on the screenshot is System settings, whereas the bug is present in Dolphin when search bar is inactive. The problem could be that I'm just bad at making color schemes, but the colors used in Dolphin seem to be from two different places (like someone changed the background color, but not the text color (because both were black and someone just forgot)

Attaching a bigger screenshot of the window for the exact place of the bug
Comment 4 Madelina Owl 2025-04-02 08:47:57 UTC
Created attachment 179931 [details]
Bigger screenshot. Dolphin with Scratchy and MintOwl color scheme
Comment 5 TraceyC 2025-04-02 22:01:54 UTC
My apologies, I had been testing with Dolphin. I took a screenshot of the wrong window.

I am now able to reproduce this on Plasma 6.3.3 after resetting Dolphin to defaults by renaming this directory (that contained only dolphinui.rc)

❯ mv ~/.local/share/kxmlgui5/dolphin{,.bak}

I'm attaching the original, and I'll let the Dolphin maintainers take it from here.
Comment 6 TraceyC 2025-04-02 22:02:45 UTC
Created attachment 179950 [details]
dolphinui.rc file where the bug was not seen