Bug 493506

Summary: Maximize does not fill screen and missing title bar buttons with Plastik window decorations
Product: [Plasma] kwin Reporter: Bill Goodman <bg+kdex>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 6.1.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot with gap at top and missing title bar buttons
Same window with Breeze

Description Bill Goodman 2024-09-22 22:03:06 UTC
Created attachment 173977 [details]
Screenshot with gap at top and missing title bar buttons

SUMMARY
If Plastik window decorations are selected and KWrite window is maximized when closed, two problems occur when KWrite is launched again: 1) Maximized window does not fill screen (leaves gap at top of screen). 2) Title bar buttons on right side are missing.

STEPS TO REPRODUCE
1. Select Plastik window decorations.
2. Launch KWrite.
3. Maximize window.
4. Close KWrite.
5. Launch KWrite.

OBSERVED RESULT
Maximized window does not fill screen. A gap is left at the top of the screen.
Title bar buttons on right side are missing.

EXPECTED RESULT
Maximized window should fill screen.
Title bar buttons on right side should be visible.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
This problem does not occur with Kate under identical conditions.
Comment 1 Bill Goodman 2024-09-22 22:04:40 UTC
Created attachment 173978 [details]
Same window with Breeze
Comment 2 Justin Zobel 2024-09-24 11:57:36 UTC
Confirmed on Plasma git master session with KWrite from git master as well.
Comment 3 Christoph Cullmann 2024-09-25 16:20:00 UTC
I can not see how Kate should be able to 'hide' the window decoration on maximize just for that variant of deco.