! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Provide a "Grow Window" function
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description Jeremy Cowgar 2005-03-22 20:48:26 CET
During the search for a perfect enviornment (Xfce) I did find a feature of
another that I fell in love with. "GrowWindow". What this feature does is causes
the current window to grow as large as it can without covering an adjacent
window. That might not be a good description, so I'll try an ASCII drawing:

+---[ xterm #1 ]----+      +-----------[ mozilla ]---------------+
|                   |      |                                     |             
                                                                               
                                                                       
|                   |      |                                     |             
                                                                               
                                                                       
+-------------------+      |                                     |
                           |                                     |             
                                                                               
                                                                       
                           |                                     |             
                                                                               
                                                                       
                           |                                     |             
                                                                               
                                                                       
+---[ xterm #2 ]---+       |                                     |
|                  |       +-------------------------------------+             
                                                                               
                                                                       
|                  |                                                           
                                                                               
                                                                       
+------------------+

Let's pretend that's what your screen looks like. Pretend xterm #1 is
the active window and you press Mod4+G (Grow Window). Here's what
would happen:

+------[ xterm #1 ]-------++-------------[ mozilla ]-------------+
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
+-------------------------+|                                     |
+---[ xterm #2 ]---+       |                                     |
|                  |       +-------------------------------------+             
                                                                               
                                                                       
|                  |                                                           
                                                                               
                                                                       
+------------------+

See? xterm #1 automatically took the maximum space it could w/o
overlapping other windows. Now, if you go and hit Mod4+g (or whatever
the "GrowWindow" function is mapped to on the other windows (xterm #2
and mozilla) you would wind up with:

+------[ xterm #1 ]-------++-------------[ mozilla ]-------------+
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
+-------------------------+|                                     |
+-------[ xterm #2 ]------+|                                     |
|                         ||                                     |             
                                                                               
                                                                       
|                         ||                                     |             
                                                                               
                                                                       
+-------------------------++-------------------------------------+

A very efficient workspace rather quickly. Any input? Xfwm handles the
full screen, maximize, max horiz and max vert great and this would
just top it all off (in my book). Anyway, it's a suggestion.


Reproducible: Always
Steps to Reproduce:
Comment 1 Hans-Peter Klett 2005-06-01 16:46:54 CEST
I believe this could really enhance productivity, however, I can see a lot of
reluctance to put this in as it's "more bloat".  I would think this would be
best achieved as an Xfce goodies item (if it's possible).
Comment 2 Harold Aling 2007-02-15 21:25:32 CET
Cool idea... Something for 4.6?

Any volunteers?
Comment 3 Harold Aling 2007-09-23 12:16:11 CEST
(In reply to comment #2)
> Cool idea... Something for 4.6?
> 

*bump*
Comment 4 Jérôme Guelfucci editbugs 2010-11-05 23:23:51 CET
This has been implemented in Xfce 4.6 as "Fill Window" bound to Alt + F10 by default.
Comment 5 Jeremy Cowgar 2011-03-31 15:42:53 CEST
Thanks for adding this. It makes Xfce my dream WM.

Bug #858

Reported by:
Jeremy Cowgar
Reported on: 2005-03-22
Last modified on: 2011-03-31

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Attachments

Additional information