Bug 516498 - Desktop selection rectangle doesn't follow the system accent color with themes that don't follow the color scheme
Summary: Desktop selection rectangle doesn't follow the system accent color with theme...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.6.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-02-22 03:03 UTC by agarplayerarlon
Modified: 2026-02-28 11:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.2
Sentry Crash Report:


Attachments
desktop selection rectangle (1.69 MB, image/png)
2026-02-22 03:03 UTC, agarplayerarlon
Details
dolphin selection rectangle (1.68 MB, image/png)
2026-02-22 03:03 UTC, agarplayerarlon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description agarplayerarlon 2026-02-22 03:03:02 UTC
Created attachment 189943 [details]
desktop selection rectangle

SUMMARY
the selection rectangle in the desktop is blue no matter what and with rounded corners, meanwhile the one inside of dolphin does follow the accent color and has square corners


STEPS TO REPRODUCE
1. use the oxygen theme

OBSERVED RESULT
the selection rectangle in the desktop is blue no matter what and with rounded corners, meanwhile the one inside of dolphin does follow the accent color and has square corners

EXPECTED RESULT
the desktop selection rectangle should follow the custom accent color and the selection rectangle of dolphin and of the desktop should match in appearance


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora KDE 43
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 agarplayerarlon 2026-02-22 03:03:20 UTC
Created attachment 189944 [details]
dolphin selection rectangle
Comment 2 Nate Graham 2026-02-24 19:46:19 UTC
So in Plasma 6.6, for performance reasons we changed the rubberband to just be a simple rectangle, rather than using the theme's SVG.

However it was not intentional that this would prevent the accent color from being used in the rubberband. And this works for me with Breeze.

Which means it's an Oxygen-specific issue with its Plasma style not honoring the systemwide accent color. I recall we had to specifically enable this for the Breeze Plasma style somehow but I'm afraid I can't recall how we did it.
Comment 3 Filip Fila 2026-02-24 20:15:44 UTC
The new code behaves this way for all of the themes that don't follow the color scheme, so not just Oxygen.

Moving to plasmashell and will send in a fix for consideration soon.
Comment 4 Bug Janitor Service 2026-02-24 20:31:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3576
Comment 5 Nate Graham 2026-02-25 16:47:01 UTC
Git commit 5260f3e65c6392b5263d89d775338c3b368414af by Nate Graham, on behalf of Filip Fila.
Committed on 25/02/2026 at 16:46.
Pushed by ngraham into branch 'master'.

FolderView: Use system accent color for selection rectangle instead of Plasma theme's

The new selection rectangle in the folder view now picks up on the Plasma theme's
highglight color if the theme does not follow the color scheme, which makes up most
of the third-party themes.

While there's merit to the argument that everything on the desktop should follow the
Plasma theme's colors, in this case the inconsistency issue caused outweighs following
the principle.

This patch therefore restores the old behavior whereby the selection rectangle uses
the system color scheme, even with themes that don't follow the color scheme.
FIXED-IN: 6.6.2

M  +6    -1    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/5260f3e65c6392b5263d89d775338c3b368414af
Comment 6 Nate Graham 2026-02-25 16:48:19 UTC
Git commit edc698c4cb3f411d0d8cdbe15cf8c0f8eb88189e by Nate Graham.
Committed on 25/02/2026 at 16:48.
Pushed by ngraham into branch 'Plasma/6.6'.

FolderView: Use system accent color for selection rectangle instead of Plasma theme's

The new selection rectangle in the folder view now picks up on the Plasma theme's
highglight color if the theme does not follow the color scheme, which makes up most
of the third-party themes.

While there's merit to the argument that everything on the desktop should follow the
Plasma theme's colors, in this case the inconsistency issue caused outweighs following
the principle.

This patch therefore restores the old behavior whereby the selection rectangle uses
the system color scheme, even with themes that don't follow the color scheme.
FIXED-IN: 6.6.2


(cherry picked from commit 5260f3e65c6392b5263d89d775338c3b368414af)

4f6bc8d8 FolderView: Use system accent color for selection rectangle instead of Plasma theme's

Co-authored-by: Filip Fila <filipfila.kde@gmail.com>

M  +6    -1    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/edc698c4cb3f411d0d8cdbe15cf8c0f8eb88189e