[Gambas-bugtracker] Bug #2144: Picture displayed at wrong Position/ outside of its Container

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue May 18 23:09:51 CEST 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2144&from=L21haW4-

Comment #14 by Benoît MINISINI:

When you use Qt, the first y-positioning of the window fails if it is done outside of the Open event. With GTK+, it behaves correctly.

Anyway, you must be aware that for a window, X and Y are the position of its top-left corner decoration -included-, whereas W and H are the size of the window decoration -excluded-!

This is because there is no reliable way to know the size of the window decorations.

I think the bug with y-positioning comes from the decoration being created a bit after the window is visible.

Benoît MINISINI changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list