[Gambas-user] Settings.Write(MyForm) could it only update pos/size if not maximized?
Bruce Steers
bsteers4 at gmail.com
Sat Jan 21 19:47:12 CET 2023
I just tried...
Metacity, Okay
Marco, Okay
Mutter, Okay
OpenBox, Okay (ish , height was 1px out)
xfwm4, errors as described
Compiz , errors as described
Respects
BruceS
On Sat, 21 Jan 2023 at 18:39, Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:
> Le 21/01/2023 à 14:46, Bruce Steers a écrit :
> >
> > I tried using the new property.
> > Changed the line 420 in Settings.class WriteWindow method..
> >
> > If hWindow.Maximized Or If hWindow.FullScreen Then
> > aVal = [hWindow.Geometry.X, hWindow.Geometry.Y, hWindow.Geometry.W,
> > hWindow.Geometry.H, S, 1]
> > Else
> > aVal = [X, Y, W, H, S, 0]
> > Endif
> >
> > But i found if maximized...
> > hWindow.Geometry.X is always 0
> > hWindow.Geometry.Y is always 32
> > hWindow.Geometry.W is 3px larger than normal W
> > hWindow.Geometry.H is 1px larger
> >
> > Respects
> > BruceS
> >
>
> No problem here (using KWin window manager), both with Qt or GTK+.
>
> --
> Benoît Minisini.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230121/a98f8261/attachment.htm>
More information about the User
mailing list