Login  Register

Re: Mac Canvas3D location bug

Posted by Sven Gothel on Oct 07, 2013; 5:28pm
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4030191.html

On 10/07/2013 06:54 PM, Manu [via jogamp] wrote:

>> And this is similar w/ which unit test I have added
>> using your boiler plate ?
>>
>> Canvas3DPositionTest -> TestBug816OSXCALayerPos02AWT
>> this one ?
>
> Yes, except it's an applet and the root component of the applet seems to
> influence the location of the 3D canvas.
> Please follow these instructions <http://support.apple.com/kb/HT5559> to test
> applets with Java 6 in a browser under Mac OS X.
Thx.

>
>> By now, you might have noticed that the unit tests do not use Java3D,
>> so I would appreciate if you can use the existing unit tests
>> and modify them to your needs. This will help both of us to be sure
>> we test the same thing!
>
> Not sure that you can integrate this test in your unit tests, because it
> requires to be run from a browser to fail under Java 7.

We have demo applets in the unit tests trees,
i.e. the one from the applet test side.
Even though they don't expose junit functionality,
it's good to have them maintained.

> And sorry, I don't know git yet (or so little).

Raw sources using a variation of our demos/tests
would be fine as well - less work, same validation.

>
>
>> BTW .. the HW/LW split pane sliding issue might be non-fixable
>> due to HW/LW mixing .. we have other unit tests for this already
>> w/ 'Split' in the name AFAIK.
>
> I don't think it's not a problem here. Just probably the root component of an
> applet is a different case.

I will verify this later.

>
>
>> Does it work well on other platforms ? X11, Windows .. ?
>
> I still use Java 3D 1.6 / JOGL 2 only under Mac OS X, because it's the only
> system where Java 1.5.2 can't run with Java 7 and I had some problems to run
> Java 3D 1.6 / JOGL 2 under Linux and Windows last year. I just tried again and
> Sweet Home 3D still fails under Windows but runs correctly under Ubuntu 12.04
> with Java 7.

Would be good to know whether this is a JOGL issue under Windows.

In case it's a Java3D issue, Harvey might be interested.

For sure .. it should work on all platforms equally,
where OSX is the hardest, as usual.

Windows or X11 should not be an issue, sure .. driver problems may exist.

~Sven



signature.asc (911 bytes) Download Attachment