Bug 457745

Summary: Shading and unshading windows resizes them to minimum size
Product: [Plasma] kwin Reporter: Alex <allo>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 5.25.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alex 2022-08-11 07:36:33 UTC
SUMMARY
Shading and unshading windows resizes them to minimum size, e.g. 1 pixel height (terminal) or just the menu and toolbars (Firefox)

STEPS TO REPRODUCE
1. Shade a window
2. Unshade the window

OBSERVED RESULT
The window is resized to the minimal height (I think) the application allows.

EXPECTED RESULT
The window should have the same size as before.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Graphics Platform: X11

ADDITIONAL INFORMATION
It's a regression from previous kwin versions.
Comment 1 Alex 2022-08-11 07:55:00 UTC
It only happens for not maximized windows.
Comment 2 Nate Graham 2022-08-11 17:54:53 UTC

*** This bug has been marked as a duplicate of bug 450582 ***
Comment 3 Alex 2022-08-11 17:58:54 UTC
Works for me in 5.25.4.