<AWT Dev> Bug 6913179, FileDialog uses native GTK under Linux: first patch
c.cerbo at gmail.com
Thu Feb 11 03:24:35 PST 2010
Hi Peter, Hi Damjan
2010/2/11 Damjan Jovanovic <damjan.jov at gmail.com>:
> Hi Peter
> Your patch causes a native assertion error upon clicking "Save":
> $ java sun.awt.X11.FileDialogTest
> java: ../../src/xcb_io.c:242: process_responses: Assertion `(((long)
> (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
> Clicking "Open" either silently exits or indefinitely hangs (no
> redraw) both the file dialog and the Java window.
Yes, using a new Thread with the GTK L&F causes the same problem also
on my system (Fedora 12).
Without a new Thread it seems to work, but the EDT is of course blocked.
I think we should investigate how we initialise the GTK multithreaded system.
More information about the awt-dev