Bug 438719

Summary: Have a "spacer" button in windows decoration
Product: [Plasma] kwin Reporter: makosol
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version: 5.22.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description makosol 2021-06-16 08:23:41 UTC
SUMMARY
Have a "spacer" button in windows decoration. For example, when using a right vertical plasma panel, a spacer could be used to have the close windows button and the plasma menu to be not too close, in order to avoid miss-clicks.
Comment 1 Bug Janitor Service 2024-01-11 20:32:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4888
Comment 2 Bug Janitor Service 2024-01-11 20:32:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdecoration/-/merge_requests/54
Comment 3 Vlad Zahorodnii 2024-02-09 18:19:02 UTC
Git commit 4612e0f003a3b668a9bb733feb3ebf27eccb583e by Vlad Zahorodnii.
Committed on 09/02/2024 at 17:11.
Pushed by vladz into branch 'master'.

Introduce Spacer button
Related: bug 348393

M  +3    -0    src/decorationbutton.cpp
M  +4    -0    src/decorationdefines.h

https://invent.kde.org/plasma/kdecoration/-/commit/4612e0f003a3b668a9bb733feb3ebf27eccb583e
Comment 4 Vlad Zahorodnii 2024-02-09 18:28:11 UTC
Git commit 4e8f1bdfdac08505be1d8ca5110f0c7dd3a51eb6 by Vlad Zahorodnii.
Committed on 09/02/2024 at 18:20.
Pushed by vladz into branch 'master'.

Bring back decoration spacer buttons

They were lost during KDecoration 1 -> KDecoration 2 transition.
Related: bug 348393

M  +1    -0    src/decorations/settings.cpp
M  +15   -10   src/kcms/decoration/declarative-plugin/buttonsmodel.cpp
M  +10   -3    src/kcms/decoration/declarative-plugin/previewbutton.cpp
M  +3    -1    src/kcms/decoration/utils.cpp

https://invent.kde.org/plasma/kwin/-/commit/4e8f1bdfdac08505be1d8ca5110f0c7dd3a51eb6