Bug 269059 - kwin with BorderlessMaximizedWindows=true cannot correctly remember the original window size.
Summary: kwin with BorderlessMaximizedWindows=true cannot correctly remember the origi...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 17:16 UTC by Weng Xuetian
Modified: 2011-10-28 15:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Weng Xuetian 2011-03-21 17:16:20 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

with BorderlessMaximizedWindows=true, no matter under plasma-netbook or plasma-desktop, the windowsize cannot be remembered after maximized.

Reproducible: Always

Steps to Reproduce:
1 open any window
2. resize window with a small size.
3. maximize the window
4. unmaximize the window.

Actual Results:  
window will change to vertical maximized.

Expected Results:  
window return to the original size.
Comment 1 Thomas Lübking 2011-03-21 19:12:18 UTC
See, this is why there's no GUI option ;-P

Anyway, i can confirm the issue and it's a bug nevertheless.
The reason is that this

if (options->borderlessMaximizedWindows())
        setNoBorder(app_noborder || max_mode == MaximizeFull);

must not happen /before/ the geometry is stored.
Comment 2 Gregor Tätzner 2011-10-28 14:22:58 UTC
I can't reproduce this bug any more on KDE 4.7.2 (compositing enabled and plasma-desktop)