[Lazarus] Form position and size not preserved

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Wed Dec 1 00:15:59 CET 2010


On Wed, 2010-12-01 at 00:05 +0100, Darius Blaszyk wrote:
> On Tue, 2010-11-30 at 00:11 +0100, José Mejuto wrote:
> > Hello Lazarus-List,
> > 
> > Monday, November 29, 2010, 10:08:06 PM, you wrote:
> > 
> > DB> Since some time the UI position and size of the forms of Lazarus are not
> > DB> preserved anymore. If I for instance organize them in a certain way and
> > DB> then press compile, the source editor changes size and position. Also
> > DB> restarting Lazarus makes the forms jump back to some original size and
> > DB> position. Is this a bug, or are my position and size settings simply not
> > DB> saved properly?
> > DB> What can I do to test?
> > 
> > Please, move one form to a clearly different position, now in the
> > object inspector select the "Top" field, edit and press enter. Repeat
> > this step with "Left" field. Save the project, exit Lazarus and
> > reopen.
> 
> I was talking about the forms of the Lazarus UI. Not forms of my
> project. So for instance the source editor keeps changing the size back
> to some odd location and size. Not only when I open a new project, but
> also when I compile the project. It's driving me mad!

Ahhh, found it. By setting the window option from "Default" to "Restore
window geometry" everything works fine now. I'm surprised though it used
to work by restoring the geometry. What does "default" mean?

Darius





More information about the Lazarus mailing list