Bug 513518

Summary: KDecoration3::BorderOutline changes the set outline colour
Product: [Plasma] kwin Reporter: Paul McAuley <kde>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Expected outline colours (window outlines drawn as part of the shadow)
window outline colours as displayed by KDecoration3::BorderOutline - bright and gaudy

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