Forum > Designer

Same project and two Pcs

<< < (3/4) > >>

caiov1n1c1us:

--- Quote from: wp on April 22, 2024, 07:35:03 pm ---Strange. Your first post looks as if the contents of the form have moved out of the form at design-time. But from all I know about the docked-formeditor I would expect the form to be correct at designtime, and to disappear at runtime in case of out-of-screen Left/Top coordinates.

This looks to me like a bug of the docked-formeditor. Now that you can reproduce the issue, can you prepare a small demo project which could be used for digging deeper? Just a simple form with one of two controls on it. Pack the .pas, .lfm, .lpi and .lpr files into a common .zip and upload it here under "Attachments and other options".

--- End quote ---

Sure! Here it is a sample

n7800:
There are already two issues on the bug tracker:

https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/23929
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40491

I asked about the first one at the beginning, but in your case it turned out to be the second one.

No less interesting is why the coordinate turned out to be negative at all.

wp:

--- Quote from: caiov1n1c1us on April 22, 2024, 07:52:23 pm ---
--- Quote from: wp on April 22, 2024, 07:35:03 pm ---Strange. Your first post looks as if the contents of the form have moved out of the form at design-time. But from all I know about the docked-formeditor I would expect the form to be correct at designtime, and to disappear at runtime in case of out-of-screen Left/Top coordinates.

This looks to me like a bug of the docked-formeditor. Now that you can reproduce the issue, can you prepare a small demo project which could be used for digging deeper? Just a simple form with one of two controls on it. Pack the .pas, .lfm, .lpi and .lpr files into a common .zip and upload it here under "Attachments and other options".

--- End quote ---

Sure! Here it is a sample

--- End quote ---
Do you work with two monitors?

caiov1n1c1us:

--- Quote from: wp on April 22, 2024, 08:06:47 pm ---
--- Quote from: caiov1n1c1us on April 22, 2024, 07:52:23 pm ---
--- Quote from: wp on April 22, 2024, 07:35:03 pm ---Strange. Your first post looks as if the contents of the form have moved out of the form at design-time. But from all I know about the docked-formeditor I would expect the form to be correct at designtime, and to disappear at runtime in case of out-of-screen Left/Top coordinates.

This looks to me like a bug of the docked-formeditor. Now that you can reproduce the issue, can you prepare a small demo project which could be used for digging deeper? Just a simple form with one of two controls on it. Pack the .pas, .lfm, .lpi and .lpr files into a common .zip and upload it here under "Attachments and other options".

--- End quote ---

Sure! Here it is a sample

--- End quote ---
Do you work with two monitors?

--- End quote ---

Three monitors. Two ultrawide and one 4k.
My dad uses only one 4k.

Could be that? Because I place all Lazarus windows between all 3 monitors.

wp:

--- Quote from: caiov1n1c1us on April 22, 2024, 09:55:05 pm ---Three monitors. Two ultrawide and one 4k.
My dad uses only one 4k.

Could be that? Because I place all Lazarus windows between all 3 monitors.

--- End quote ---
Yes. Depending on which monitor you design the form there will be negative or very large positive Left values. Since the DockedFormEditor has an issue with negative Left values as reported by n7800 it will exactly produce the issue that you describe.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version