Bug 3750 - New action: GrowToEdgeAll
Status: RESOLVED DUPLICATE of bug 3356
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P3 enhancement
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2008-08-17 13:08 EDT by Dudeski Robinson
Modified: 2010-07-31 12:32:01 EDT
2 users (show)

See Also:



Description Dudeski Robinson 2008-08-17 13:08:48 EDT
The GrowToEdgeAll would resizes the window until it touches the nearest edge at each of the cardinal points (north, south, east, west). 

With this single action, one could effectively order the window to use all available space, that is, all the desktop space that is not yet occupied by another window. 

For example, a similar function has been implemented in Pekwm with the default key combination Mod4-G. ~/.pekwm/keys reads: KeyPress = "Mod4 G" {Actions = "Maxfill True True"}

Thank you very much for your time and efforts!
Comment 1 Mikachu 2008-08-17 13:30:12 EDT
Anything wrong with just binding all four actions to a single keybind?
Comment 2 deadrabbit 2009-06-24 12:30:07 EDT
I was going to submit the same idea, good thing I checked the request list . . .

Assigning all four GrowTo* actions to a single keybind does not behave correctly. It seems to behave randomly. Sometimes it will fill the whole screen, or expand only part way. I also tried combining MoveToWest MoveToNorth GrowToEast GrowToSouth, and the behaviour is similar. The order of execution matters for this to work - is there a way to control it? It doesn't appear to work according to the order of the actions. I think adding the action would be simpler.

Also, it would be nice if the action is toggleable, so it can switch back to the windows original size - I'm not sure if that's possible.

Thanks!
Comment 3 Lucas 2010-07-31 12:32:01 EDT
Duplicated wish :-)

*** This bug has been marked as a duplicate of bug 3356 ***