RE: [Java-gnome-developer] Bugreport concering Frame
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2002-12-02 15:13:59
|
> I=B4ve found a bug in Java-GTK 0.8CVS (from 30.11): >=20 > 1.) If I say "Frame myframe =3D new Frame();" my with GCJ=20 > compiled Program=20 > crashes at startup (I think with segfault), but with "Frame myframe = =3D=20 > new Frame("");" it works fine.... I have checked in the code that will fix this problem. > 2.)When I want to close my window, I only can see "handleDelete", but = > the app still seems to be running. This issue is a little more complex. Internally I am using the "g_signal_connect_closure_by_id" method to connect my signals to a native method that calls the appropriate Java method. In that callback method I am setting the "return_value" parameter to the value returned from the Java layer. In the case of a "delete" signal I am always returning "false" which should cause the gtk library to propagate a "destroy" signal to the widget. This does not seem to be happening correctly. If the signal is being propagated it is not re-entering via the same route (I am not receiving the event in my callback). I am aware of this problem and have already started to look into it. I will keep the list up to date on my progress. -Jeff |