RE: 2nd post: doubleclick lets X freeze



Title: RE: 2nd post: doubleclick lets X freeze

Don't know if this helps or not, but using a button_release_event instead of a button_press_event might make a difference. I have noticed that unless event pairs like this are allowed to happen, you sometimes get very strange focus behavior and even unexplained lockups.

I don't know if this is happening or not, but perhaps when you start the 2nd GMainLoop in your modal dialog the button_release_event is not able to pair up with the button_press_event and causes the lockup.

Of course a "clicked" event would by definition be should have already allowed the button_release_event and therefore the pairing the have taken place correctly.

Just a guess in the dark,
Cheers,
   Tim.

-----Original Message-----
From: Werner Lehmann [mailto:wl bwl uni-kiel de]
Sent: Wednesday, October 04, 2000 11:51 AM
To: gtk-app-devel-list
Subject: 2nd post: doubleclick lets X freeze


Hi,

this is my second post about that topic (see "Help: after clist
doubleclick all X windows are locked" for further details).

I have no idea what to do or to start with...

In the signal function of a button_press_event I show a window modally
(with its own GMainLoop) and everything freezes. No windows can be
moved or closed anymore, the buttons in that modal window do not work,
the other applications (xterm etc) do not work anymore.

An explicit kill from another terminal is needed.

If that same dialog is shown in the clicked signal function of a GtkButton
everything is as it should be.

Any insights?

Regards,
WL


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]