Re: NewtCanvasSWT Linux Exception with GTK_VERSION
Posted by Wade Walker on Feb 05, 2019; 1:51am
URL: https://forum.jogamp.org/NewtCanvasSWT-Linux-Exception-with-GTK-VERSION-tp4039442p4039477.html
I put in the fixes, and the unit tests seem to work, but they throw some GTK errors/exceptions at shutdown:
SWT:14860): Gdk-CRITICAL **: 17:47:49.569: The window 0x7f71e51ac640 already has a drawing context. You cannot call gdk_window_begin_draw_frame() without calling gdk_window_end_draw_frame() first.
(SWT:14860): Gdk-CRITICAL **: 17:47:49.569: gdk_drawing_context_get_cairo_context: assertion 'GDK_IS_DRAWING_CONTEXT (context)' failed
I'll need to dig into this a little and see what's going on. It seems like GTK 3+ throws a lot of these (judging from what I've seen in the logs of other programs), but I'm not sure how serious it is or how hard it will be to fix.