[lazarus] Lazarus still freezes X

Tony Maro TonyM at nlisc.com
Fri Oct 18 20:26:40 EDT 2002

On the down side, it just froze on me... :-P

I don't even have hints turned on.

I attempted a build on my app and the messages window showed an error so I clicked to jump to it and clicked the wrong one.  So, I clicked right back in the messages window and after that nothing would take input except certain parts of Lazarus.  Lazarus windows that were open would not raise to the top.  I could alt-tab between windows, but clicking on the gnome-panel or attempting to close Lazarus would do nothing.  I had to CTRL-ALT-F1 to console and killall lazarus to get control back.

Sounds amazingly like what you guys have been describing and has never happened to me until today.  My CVS sources were updated about 2 hours ago.


-----Original Message-----
From:	Andrew Johnson [mailto:aj_genius at hotmail.com]
Sent:	Fri 10/18/2002 5:34 PM
To:	lazarus at miraclec.com
Subject:	Re: [lazarus] Lazarus still freezes X
On Fri, 18 Oct 2002 14:47:28 +0200
"Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote :

>On Fri, 18 Oct 2002 08:12:18 -0400
>"Andrew Johnson" <aj_genius at hotmail.com> wrote:
> > On Thu, 17 Oct 2002 17:06:33 +0200
> > "Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote :
> >
> > >The problem is not, where it does _not_ freeze. I myself don't have
> > >such a freezer.
> > >The freezes appear on a RH7.3 to RH8.0 upgraded computer and with the
> > >
> > >current lazarus, the lazarus one month ago, but not the lazarus 2
> > >months ago.
> > >So, this is probably something Andrew and I have done.
> >
> > Hmm, I just thought of something.. I had set Hint Window's to be
> > transient to the main form, before I changed the BorderStyle code, but
> > I never removed it when I was done. Since Hint Window's are still
> > popup's..it is possible that they could get stuck recieving all
> > Lazarus Mouse calls, though I thought this had been fixed, but if
> > something in X or later versions of GTK has changed the behaviour of
> > popup's this could have some deadly results. Try disabling the code
> > that set hint windows transient for now. It is in the create routine..
> > I will look into making Hint windows Bordlerless Transient Dialogs
> > instead on my system here and see how well that works. If it takes
> > care of all the problems I will commit it and see what happens for
> > other people using RH >=7.3
>I also thought so, but the hints were not created at all and it freezes.
>I looked at the grabbing code in the gtk itself and found out, that the
>old capturing code in the gtk interface did not really play nice
>together with some of the gtk widgets. So, I completely rewrote the
>capturing/uncapturing and now it seems to work ... time will show ...

Well bright side.. I think, though I can't be positive yet, that at least 
the hintwindow errors on destroy widget are gone now. I think that transient 
windows are destroyed with the parent, so if hint windows still existed(had 
valid handles in memory).. we get invalid typecasts.


Protect your PC - get McAfee.com VirusScan Online 

     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


More information about the Lazarus mailing list