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).
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/
*** Bug 274023 has been marked as a duplicate of this bug. ***