Bug 266607 - restore after maximize for xterm does not work
Summary: restore after maximize for xterm does not work
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 274023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-18 15:28 UTC by k.koepernik
Modified: 2011-05-24 14:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k.koepernik 2011-02-18 15:28:26 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

xterm under kubuntu/kde4.6 does not restore to original size after
maximize. The maximize flag in the window menu is not set ... I guess
that's why. 
Weird enough the horizontal maximize works as expected ... it
restores on second invocation. So I assume it is the vertical part of
maximize, which is the culprit.

Reproducible: Didn't try

Steps to Reproduce:
Open an xterm. Use Hotkey or window-menu to maximize.
It maximizes. Open the window-menu ... maximize-checkbox is not set. 
ry maximize again ... it does not restore the xterm to it's original size.
Try the hotkey (have to set one first?) for horizontal maximize.
This one toggles the horiz-max state correctly (as in former kde versions).
Comment 1 Thomas Lübking 2011-02-18 15:58:57 UTC
it's a bit more "complex" but the below patch unlinks "maximized" from "cover all screen area"
atm. you cannot restore the window because it's never maxmized (partial maximization have other omplementation issues to be adressed on top and for 4.7)

you can re-enable maximization for clients like xterm by adding a rule (kcmshell4 kwinrules) and select "strictly obey geometry" in the advanced tab but NOT check the last checkbox.
this will ignore the geometry restrictions (fix baseincrement) as set by xterm and some others (for debatable reasons)

http://git.reviewboard.kde.org/r/100606/
Comment 2 Thomas Lübking 2011-05-24 14:35:56 UTC
*** Bug 274023 has been marked as a duplicate of this bug. ***