Sign in Join

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

Mailing lists / lazarus / 2016-09

Form resize reverted after click on component palette

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Lukas Gradl

Hi!

When I resize or move a form in the designer and click on a component in the palette afterwards (to place it on the form) the change is reverted - the form has the same size and position as before my change.

This happens even after saving the change or if you do something else in between (e.g. writing some eventhandler)

E.g:
Move or resize the form - click on the OnActivate-event - write some code - save the whole project - click on a component (e.g. TEdit) in the component palette - form has same size and position as before the resize/move.

I use Lazarus mainly for developing applications without GUI - so I can't really say since when I have that problem.

But perhaps someone has an Idea what I might do wrong?

Thanks
Lukas

Reply by email

Mattias Gaertner
to Lukas Gradl
Show quoted text 5 lines
Hi! When I resize or move a form in the designer and click on a component in the palette afterwards (to place it on the form) the change is reverted - the form has the same size and position as before my change.

What platform?
Do you a docked IDE?

Show quoted text 8 lines
This happens even after saving the change or if you do something else in between (e.g. writing some eventhandler) E.g: Move or resize the form - click on the OnActivate-event - write some code - save the whole project - click on a component (e.g. TEdit) in the component palette - form has same size and position as before the resize/move.

It works here.

I use Lazarus mainly for developing applications without GUI - so I can't really say since when I have that problem. But perhaps someone has an Idea what I might do wrong?

Mattias

Reply by email

Lukas Gradl
to Mattias Gaertner

Oh - sorry - forgot that vital information. Was before my first coffee in the morning...

Zitat von Mattias Gaertner via Lazarus :

Show quoted text 6 lines
> When I resize or move a form in the designer and click on a component > in the palette afterwards (to place it on the form) the change is > reverted - the form has the same size and position as before my change. What platform? Do you a docked IDE?

Debian Linux x64, Cinnamon, GTK2, Anchordocking
Lazarus SVN-Revision 53015
FPC 3.0 fixes branch, SVN-Revision 34552

Show quoted text 10 lines
> This happens even after saving the change or if you do something else > in between (e.g. writing some eventhandler) > > E.g: > Move or resize the form - click on the OnActivate-event - write some > code - save the whole project - click on a component (e.g. TEdit) in > the component palette - form has same size and position as before the > resize/move. It works here.

Just retested - happens all the time, new project, reopened old project - always the same.

Problem disappears when switching to QT - so it seems to be a problem in GTK2. Unfortunatly no Windows around, so can not test there. I switched my IDE to QT now - but it still might be worth a look to hunt down the problem.

Show quoted text 6 lines
> I use Lazarus mainly for developing applications without GUI - so I > can't really say since when I have that problem. > > But perhaps someone has an Idea what I might do wrong? Mattias

Thanks for all help,

Lukas

Reply by email