Re: New pre-release: Unsigned gluegen_476-joal_269-jogl_623-jocl_529

Posted by Sven Gothel on
URL: https://forum.jogamp.org/New-pre-release-Unsigned-gluegen-476-joal-269-jogl-623-jocl-529-tp3658085p3662750.html

On Sunday, January 15, 2012 03:52:44 PM jouvieje [via jogamp] wrote:

>
> I've modified an old junit test and I can reproduce the problem.
>
> While writting the junit, I've found the NewtCanvasAWT was rendered but with
> an offset. First screenshot shows a white area where the NewtCanvasAWT is
> supposed to be and after resizing I can see my app with a huge position
> offset. This also appear in the unit test (second picture) where the gears
> are also rendered in wrong place:
>
> http://jerome.jouvie.free.fr/jogamp/bug-1.png bug-1.png
> http://jerome.jouvie.free.fr/jogamp/bug-2.png bug-2.png
>
> and junit test:
> http://jerome.jouvie.free.fr/jogamp/NewtCanvasAWT_bug.java
> NewtCanvasAWT_bug.java
>
> Let me know if there's something wrong in the unit test.

Nope, it's a regression indeed!

Thank you for reporting. Since I didn't manually verified the behavior
visually, it slipped through our unit tests.

For some reason the x/y offset exists (not corrected)
probably while allowing the negative x/y coordinate patch for 'big-desktop'.

I look into this now.

~Sven