[lazarus] Lazarus still freezes X

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 18 08:50:20 EDT 2002


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 ...


Mattias






More information about the Lazarus mailing list