Bug 451580

Summary: Titlebar buttons configuration KCM render error when not default settings
Product: [Applications] systemsettings Reporter: Hugo Ortega_H <hugorteg>
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.24
Sentry Crash Report:
Attachments: Applied configuration vs configuration mockup

Description Hugo Ortega_H 2022-03-16 15:48:51 UTC
Created attachment 147531 [details]
Applied configuration vs configuration mockup

SUMMARY
In the "Titlebar Buttons" config on KCM "Window Decorations" there is a render problem when buttons are not in the default config. Drag and drop behaves strange and not all buttons are visible nor the same order. This was a fresh installation using Kubuntu 21.10

STEPS TO REPRODUCE
1. Open KCM "Window Decoration"
2. In the "Titlebar Buttons" tab modify the default button arrangement or add new buttons.
3. The behavior is not the expected, specially on drag and drop but also in the render.

OBSERVED RESULT
Render errors in buttons config mockup. There is an attachment with an example.

EXPECTED RESULT
Buttons in configuration mockup should appear in the same order of applied configuration.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 21.10
KDE Plasma Version:  5.22.5
KDE Frameworks Version:  5.86.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Nate Graham 2022-03-26 02:46:36 UTC
This was fixed in Plasma 5.24.