Bug 513518 - KDecoration3::BorderOutline changes the set outline colour
Summary: KDecoration3::BorderOutline changes the set outline colour
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 6.5.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-18 02:18 UTC by Paul McAuley
Modified: 2025-12-18 02:20 UTC (History)
0 users

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


Attachments
Expected outline colours (window outlines drawn as part of the shadow) (551.53 KB, image/png)
2025-12-18 02:18 UTC, Paul McAuley
Details
window outline colours as displayed by KDecoration3::BorderOutline - bright and gaudy (385.59 KB, image/png)
2025-12-18 02:20 UTC, Paul McAuley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul McAuley 2025-12-18 02:18:36 UTC
Created attachment 187760 [details]
Expected outline colours (window outlines drawn as part of the shadow)

Hello,

I am the author of a C++ window decoration. I have just ported it to use KDecoration3::BorderOutline as newly available in Plasma 6.5 (source code of my port is at https://github.com/paulmcauley/klassy/tree/BorderOutlinePort ). My window outlines were previously implemented as part of the shadow, but I want to use the new BorderOutline API as it has better positioning and probably is more efficient.

My problem is that the outline colour drawn by KDecoration3::BorderOutline is not the same as the colour which I set when I call KDecoration3::setBorderOutline(). The displayed outline colour is much brighter and this can make the outline look too gaudy and distracting, especially with dark colour schemes. The difference can be seen in the attached screenshots.


Operating System: openSUSE Tumbleweed-Slowroll 20251204
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.18.0-1.0.2.sr20251204-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: Intel® HD Graphics 630
Manufacturer: Dell Inc.
Product Name: XPS 15 9560
Comment 1 Paul McAuley 2025-12-18 02:20:04 UTC
Created attachment 187761 [details]
window outline colours as displayed by KDecoration3::BorderOutline - bright and gaudy