[Gambas-user] window placement policy

Dominique Michel dominique.michel at ...3298...
Mon Feb 10 14:16:28 CET 2014


Le Mon, 10 Feb 2014 11:21:25 +0100,
Tobias Boege <taboege at ...626...> a écrit :

> On Mon, 10 Feb 2014, Dominique Michel wrote:
> > When doing the Wave generator, I see that Gambas place the window
> > of a program by default at the top left corner of the screen, which
> > override the window manager placement policy. (fvwm with
> > fvwm-crystal in my case)
> > 
> > I see it is possible to use Me.Center, or Me.Top, Bottom, Left and
> > Right, but is it possible to make gambas to let the window manager
> > place the windows?
> > 
> > With fvwm, I can add
> > 
> > Style Gambas* !UsePPosition
> > 
> > in my style options, but it would be better if I can do the same
> > directly with Gambas.
> > 
> > Dominique
> > 
> 
> I don't think Gambas provides any interface to your wm's settings.
> But if you can get that information via shell, you can place your
> window manually...
> 
> Regards,
> Tobi

It don't need to. All I want is that Gambas doesn't manage at all the
window placement, and let the wm do its job. Fvwm doesn't have 3D
effects and such, but it just do a wonderful job at managing things
like windows placement or focus policies, and I just want that Gambas
let fvwm do its job. For that, all that is needed is that Gambas
doesn't manage the placement at all if I don't want it.

http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idp6374024

Quote:
Rationale: Window managers can often perform better placement (that may
be even configurable) for windows than the application. However at the
time of writing this it is problematic for Window managers to decide
when to use them because many applications abuse positioning flags
and/or provide unnecessary default positions.
EndQuote

As I think many Gambas applications force the windows placement, my
Gambas* fvwm style will stay for ever in my fvwm configuration. But it
doesn't work when launching a program with F5 from the IDE. It would be
great to have an option to disable this placement policy at least in
the IDE.

Regards,
Dominique
> 




More information about the User mailing list