Sign in Join

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

Mailing lists / lazarus / 2008-05

IDE bug?

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Jon Foster

I've now had this problem with Lazarus 0.9.21, 0.9.24, 0.9.25 snapshot 2008-5-21 and SVN -2008-05-22 8:00am pdt running on i386 Linux SuSE 9.0 & Debian 4.0 and on two different computers. For some reason Lazarus seems unable to determine the left and top coordinates of windows. You see this in the object inspector and "environment | environment options | window". At one point in the distant past these things used to work but over the last couple of years they stopped. Is this behavior seen by anyone else?

THX - Jon

Jon Foster JF Possibilities, Inc. 541-410-2760 Making computers work for you!

Reply by email

Mattias Gaertner
to Jon Foster
Show quoted text 6 lines
I've now had this problem with Lazarus 0.9.21, 0.9.24, 0.9.25 snapshot 2008-5-21 and SVN -2008-05-22 8:00am pdt running on i386 Linux SuSE 9.0 & Debian 4.0 and on two different computers. For some reason Lazarus seems unable to determine the left and top coordinates of windows. You see this in the object inspector and "environment | environment options | window".

I guess you mean: pressing button 'get position'.

At one point in the distant past these things used to work but over the last couple of years they stopped. Is this behavior seen by anyone else?

It works here under ubuntu gtk2.
Is the object inspector visible?

Mattias

Reply by email

Graeme Geldenhuys
to Jon Foster
Jon Foster wrote 7 lines
> I guess you mean: pressing button 'get position'. > Yes. Or if you move a form window about the object inspector doesn't show the change in window position. When you save and reload the form window reverts to the previous location. As you might guess using the "restore window geometry" doesn't work and some times all IDE windows revert to 0, 0.

"restore window geometry" has never worked for me. Well maybe I don't know exactly what it is supposed to do. What does work for me is to select "custom position" and then click "get position" button. I do this for each window I'm interested and it works fine.

I do this under Windows (Win2000 & XP) and Linux (Ubuntu 6.04-7.10).

Yes. Could this have something to do with the window manager?

I vary my window managers often. I use Gnome, FVWM2, XFCE... My process works with all of them.

Regards,
- Graeme -

_______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Jon Foster
to Graeme Geldenhuys
Graeme Geldenhuys wrote 9 lines
Jon Foster wrote: [...] What does work for me is to select "custom position" and then click "get position" button. I do this for each window I'm interested and it works fine. I do this under Windows (Win2000 & XP) and Linux (Ubuntu 6.04-7.10).

Hasn't worked on my Linux versions for a couple of years. :-/

Show quoted text 8 lines
[...] I vary my window managers often. I use Gnome, FVWM2, XFCE... My process works with all of them. Regards, - Graeme -

I use Enlightenment e16.8.x. Have you used this? If you use the Ubuntu / Debian package its probably really old and buggy. At least the one provided with Deb 4.0 was. I've been compiling Enlightenment myself for quite some time now.

I guess I was looking for a more technical answer though. How does GTK or whatever in Lazarus figure out the position of windows. Is this feedback that comes from the window manager? If so maybe that is my problem.I have had this on at least two different versions of Linux and possibly three. My memory is not that clear. :-)

THX - Jon

Jon Foster JF Possibilities, Inc. 541-410-2760 Making computers work for you!

Reply by email