Login  Register

Re: NewtCanvasSWT Linux Exception with GTK_VERSION

Posted by Sven Gothel on Apr 09, 2019; 9:42pm
URL: https://forum.jogamp.org/NewtCanvasSWT-Linux-Exception-with-GTK-VERSION-tp4039442p4039686.html

Thank you.

It was quite an interesting experience indeed.

As I debated w/ Wade in the bugzilla comments,
I advised testing the native window handle first.
So I did and it was good using a proper little SWT app.

So the next step was to 'find the difference',
knowing that we didn't do anything w/ the parent's
SWT GTK/GDK object but attach our NEWT child to it.

Hence I added the little whole parenting code in the copied
test case 02. And it worked!

Now I created a third copy 03 (not checked in)
and removed the difference to the NewtCanvasSWT test case,
i.e. the proper SWT canvas rendering.
Voila, the bug got reproduced.

Hence the issue was something added in 01,
the SWT canvas rendering.
And finally it turned out to be just the background setting.

~Sven

On 4/9/19 11:19 PM, gouessej [via jogamp] wrote:

> Great job Sven, I wouldn't have thought about trying that :)
> Julien Gouesse | Personal blog <http://gouessej.wordpress.com> | Website
> <http://tuer.sourceforge.net>
>
>
> ------------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/NewtCanvasSWT-Linux-Exception-with-GTK-VERSION-tp4039442p4039684.html
>
> To start a new topic under jogl, email [hidden email]
> To unsubscribe from jogl, click here
> <
> NAML
> <
http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>