[openbox] GrowToEdge* / MoveToEdge* are not consistent

Dana Jansens dana at orodu.net
Wed Jun 30 10:31:55 EDT 2010


On 2010-06-29, at 10:04 AM, Carlos Pita wrote:

> Oh, I noticed that -say- MoveToEdgeNorth *does* take into account the
> bottom edges of other windows, but not the upper edges. That makes
> perfect sense indeed if the point is to avoid overlapping. But still,
> the doc is misleading.

To say it didn't take the upper edges into account would also be wrong as it does, but differently.  It moves the bottom of the moving window against the top of stationary windows.  It's a simplistic explanation in the docs.  But I think it's correct and enough to get an idea what the action is for.

> 
> Regards
> --
> Carlos
> 
> On Tue, Jun 29, 2010 at 1:32 PM, Carlos Pita <carlosjosepita at gmail.com> wrote:
>> Hi,
>> 
>> it seems to be an inconsistency between GrowToEdge* and MoveToEdge*. I
>> don't know if it's intended but at least the online documentation
>> doesn't reflect the observed behavior. For example:
>> 
>> MoveToEdgeEast
>> Moves the window to the nearest edge east of it. Edges are the outer
>> edges of other windows, or the desktop boundaries.
>> 
>> GrowToEdgeWest
>> Resizes the window until it touches the nearest edge west of it. Edges
>> are the outer edges of other windows, or the desktop boundaries.
>> 
>> While the documented behavior is right for the GrowToEdge* family,
>> MoveToEdge* *always* moves the window to the desktop boundaries,
>> instead.
>> 
>> Is this a software bug or documentation bug? Or am I ill understanding
>> something?
>> 
>> Best regards
>> --
>> Carlos
>> 
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox



More information about the openbox mailing list