Bug 490285 - Inconsistent folder colors between Dolphin and xdg-desktop-portal-kde
Summary: Inconsistent folder colors between Dolphin and xdg-desktop-portal-kde
Status: RESOLVED NOT A BUG
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (other bugs)
Version First Reported In: 6.1.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-07-15 07:39 UTC by Iyán M. V.
Modified: 2024-07-24 06:31 UTC (History)
3 users (show)

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


Attachments
Different icons in xdg portal and Dolphin (44.19 KB, image/png)
2024-07-15 07:39 UTC, Iyán M. V.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán M. V. 2024-07-15 07:39:59 UTC
Created attachment 171667 [details]
Different icons in xdg portal and Dolphin

SUMMARY
Folders in xdg-desktop-portal-kde windows are shown white instead of blue (or the chosen accent color) after last update to Frameworks 6.4.0.


STEPS TO REPRODUCE
1. Open Dolphin
2. Open xdg-desktop-portal-kde window (e.g. open or save in Firefox with `widget.use-xdg-desktop-portal.file-picker` set to 1 in `about:config`)

OBSERVED RESULT
Folders have different colors

EXPECTED RESULT
Same colors as before update. Folders in Dolphin and xdg-desktop-portal-kde should look the same.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: LENOVO
Product Name: 21KDS00600
System Version: ThinkPad X1 Carbon Gen 12

ADDITIONAL INFORMATION
Perhaps related to this change?
https://invent.kde.org/frameworks/breeze-icons/-/commit/931fc4520ceb9ef44f367979d233f2b5bdd4bbb7
Comment 1 Nate Graham 2024-07-15 15:14:13 UTC
Can you comment on your system's scaling, color scheme, accent color, etc? Does it reproduce in a new clean user account?

Also, concrete steps to reproduce would be helpful, since I can't immediately reproduce it myself with our portal tester app.
Comment 2 Iyán M. V. 2024-07-15 16:07:29 UTC
Hi Nate,

Scale 175%, Breeze Dark, accent color from color scheme. (If anything else is relevant, please let me know). And no, I cannot reproduce on a new user, both with Breeze and Breeze Dark.

If I figure out a clear way to reproduce the issue I will write it down here :)
Comment 3 Nate Graham 2024-07-23 18:05:45 UTC
Thanks. Haven't figured out a way to reproduce this yet. Question: does the color issue happen in file dialogs *not* spawned by portal-using apps?
Comment 4 Iyán M. V. 2024-07-24 06:31:20 UTC
No, it didn't happen (for example, with Kate), only with xdg portal. But in any case, I cannot reproduce anymore, so perhaps it was a one-time weird behavior (perhaps I forgot to reboot/restart session) after an update... closing for now, I will reopen if I observe it again and can reproduce it in a consistent way.