Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-11

Form position and size not preserved

10 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszyk

Since some time the UI position and size of the forms of Lazarus are not preserved anymore. If I for instance organize them in a certain way and then press compile, the source editor changes size and position. Also restarting Lazarus makes the forms jump back to some original size and position. Is this a bug, or are my position and size settings simply not saved properly?

What can I do to test?

Darius

Reply by email

José Mejuto
to Darius Blaszyk

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.

Best regards, Jos?

Reply by email

Darius Blaszyk
to José Mejuto
Jos? Mejuto wrote 16 lines
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!

Darius

Reply by email

Darius Blaszyk
to Darius Blaszyk
Darius Blaszyk wrote 22 lines
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

Reply by email

Bo Berglund
to Darius Blaszyk
Darius Blaszyk wrote 13 lines
On Wed, 2010-12-01 at 00:05 +0100, Darius Blaszyk 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? > > 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?

I can't find which version of Lazarus you are using and on which operating system. Could you supply this info too?

Bo Berglund Developer in Sweden

Reply by email

Hans-Peter Diettrich
to Darius Blaszyk: Since some time the UI position and size of the forms of Lazarus are not preserved…
Show quoted text 6 lines
Since some time the UI position and size of the forms of Lazarus are not preserved anymore. If I for instance organize them in a certain way and then press compile, the source editor changes size and position. Also restarting Lazarus makes the forms jump back to some original size and position. Is this a bug, or are my position and size settings simply not saved properly?

I consider it a bug, in the form placement procedures. I've already suggested a better placement, for both docked and undocked forms, but it was rejected.

Perhaps the docked IDE works better? (untested)

DoDi

Reply by email

Bo Berglund
to Vincent Snijders: 2010/12/1 Darius Blaszyk : I think default means the designed position of those IDE forms.
Vincent Snijders wrote 7 lines
2010/12/1 Darius Blaszyk : > 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? I think default means the designed position of those IDE forms.

Isn't it rather so that "default" means that it will be placed wherever Windows decides?
At least in Delphi there is poDesigned (which is what I think tou refer to) and three variations of poDefault.

Bo Berglund Developer in Sweden

Reply by email

Graeme Geldenhuys
to Darius Blaszyk: Ahhh, found it. By setting the window option from "Default" to "Restore window geometry"…

Op 2010-12-01 01:15, Darius Blaszyk het geskryf:

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?

Has anybody got an answer to this question? In fact, what do all the various "window position" options mean? There is no wiki help for this dialog.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email