Bug 438188

Summary: Multiple window decoration buttons can be added to the titlebar
Product: [Applications] systemsettings Reporter: Lua <lv215bd5>
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate, nicolas.fella, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: bug

Description Lua 2021-06-06 21:30:26 UTC
Created attachment 139049 [details]
bug

SUMMARY


STEPS TO REPRODUCE
1. Go to Settings > Window Decorations > Titlebar buttons;
2. Drag and drop a button, such as close, repeatedly to the titlebar.


OBSERVED RESULT


EXPECTED RESULT
The buttons that are already present in the titlebar should not be visible or should be greyed out.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-73-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel Core Processor (Skylake, IBRS)
Memory: 3.8 GiB of RAM
Graphics Processor: llvmpipe 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2021-06-07 20:27:09 UTC
But what if I want a close button on the left *and* on the right side?
Comment 2 Lua 2021-06-08 01:59:31 UTC
Ah, so it's intended, then? I thought it was a bug
Comment 3 Nate Graham 2021-06-08 23:23:44 UTC
Yep. It's one of those "with great power comes great responsibility" things. :)