Login  Register

Re: NewtCanvasSWT and SashForm

Posted by Sven Gothel on Jan 21, 2013; 5:25pm
URL: https://forum.jogamp.org/NewtCanvasSWT-and-SashForm-tp4027951p4027952.html

On 01/21/2013 05:12 PM, Tomas [via jogamp] wrote:

> Hi guys,
>
> I've been playing with JOGL RC11 and Eclipse RCP (e4) on OSX 10.8.2 mostly for
> fun.
>
> When using NewCanvasSWT in a SashForm it seem to always be placed at top left
> corner. See screenshots.
>
> *The triangle should in rendered to the right, not the left side:*
> The triangle should in rendered to the right, not the left side.
>
> *After resizing the SashForm a bit:*
> After resizing the SashForm.
>
> The setup is just a simple shell with a Sash. Please see the attached file.
>
> NewtSashTest.java <http://forum.jogamp.org/file/n4027951/NewtSashTest.java>
>
> Any ideas,
Please file a bug report:
 - 'NewtCanvasSWT ignore windowing offset on OSX'
and include your findings (this text w/ pics)

Does this happen w/ our SWT GLCanvas ?
(Note: This also uses native parenting)

Does this happen on other platforms than OSX ?

> workarounds ?

We surely can fix this issue, pls answer above questions
and file the bug report - thx.

~Sven

>
> Cheers
> // Tomas


signature.asc (911 bytes) Download Attachment