Summary: | Maximize window to best fit screen without overlapping other windows (fill only empty space). | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | jwbroek |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | wishlist | CC: | abolte |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
jwbroek
2004-04-03 18:25:03 UTC
*** This bug has been confirmed by popular vote. *** I miss this feature since my early uses of unix. This was available in fvwm in the "good old days"(r)(c)(tm) :) +-screen----------------------------------------------------------------------+ |+-win1-------------[][][]+ +-win2----------------[][][]+ | || | | | | || | | | | || | | | empty space | || | | | | || | | | | || | | | | |+------------------------+ | | | | | | | | | | | | +---------------------------+ | | | | empty space | | | | +-win3----------------[][][]+ | | | | | | | | | | | | | | | | | | | | | | +---------------------------+ | | | +-----------------------------------------------------------------------------+ MAXIMIZE BUTTON : | normal/no mod | modifier | ------------------------+---------------+------------------------------------+ mouse button left | full | both of below | mouse button middle | vertical | use all vertical space available | mouse button right | horizontal | use all horizontal space available | With "modifier" could be alt / control / shift or any other combi. I want to thank you for your feature request and I am sorry that for such a long time nobody replied to this request. Unfortunately to implement this behavior quite some heuristics is needed to properly identify the empty space and ignore windows. This is not trivial to implement. Another problem is the change of semantics of the maximized button which would violate the EWMH specification. From what I understand you want to best use the available space. This is a desirable goal we have followed in the KWin development process. For example we added quick tiling on screenedges allowing you to either fill quarters of the screen or the half of the screen. Furthermore the upcoming development version contains JavaScript bindings allowing users to use their own custom windowing behavior. E.g. it would be possible to write a script which reacts on maximization and calculates a new size based on the other windows available on the same desktop. This request was closed almost 10 years ago because it was deemed too hard to implement, but is this still the case? If not, can this be re-opened? > Another problem is the change of semantics of the maximized button which would violate the EWMH specification. That's fair - having such functionality mapped to the maximize button would be unusual. I think most people would settle for a user-defined shortcut, and I don't think jwbroek would mind if we disregard the second paragraph of his original request. I use the term "unusual" because many other window managers (including lightweight ones such as xfwm) have long supported this behavior, but they do so by way of of a user-defined shortcut. (They also support "quick tiling", etc.). Isn't KDE supposed to be the one desktop that does it all? :) I'm not aware of anyone having implemented a JavaScript solution, or any other kind of solution. This report was referenced on StackExchange at https://askubuntu.com/questions/216128/expand-window-to-free-space-on-screen-in-kde Please let me know if you would prefer a new bug report, as opposed to having this one re-opened. As an aside, I don't know why it was marked "WORKSFORME" since the functionality clearly doesn't exist. |