Bug 1298

Summary: regression: Canvas in CardLayout always visible after showing once
Product: [JogAmp] Jogl Reporter: Marco Möller <marcomoeller>
Component: macosxAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: critical CC: clst, gouessej
Priority: P4    
Version: 3.0.0   
Hardware: pc_x86_64   
OS: macosx   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: log/output from junit on the MAC

Description Marco Möller 2016-03-17 17:39:52 CET
it seems you have a regression.

I am not sure, from which version on, but in 2.3.2 (and I think also in 2.2.4)
a NasaWorldWind Globe is not getting invisible in a cardLayout after its card is goind into background.

You had this issue before and fixed it in 2.1.4 a while ago:
https://jogamp.org/bugzilla/show_bug.cgi?id=937
JAWTWindow: Unsatisfying Visibility Computation (was: Canvas in CardLayout always visible) 

it would be great if you could provide a short hand fix / work around for this.

thx

-marco
Comment 1 Julien Gouesse 2016-03-29 13:27:44 CEST
Hi

Please provide some additional information:
http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing
Comment 2 Claudia Steiger 2016-04-06 12:13:22 CEST
VersionUtil.getPlatformInfo()
-----------------------------------------------------------------------------------------------------
Platform: MACOS / Mac OS X 10.11.2 (10.11.2), x86_64 (X86_64, GENERIC_ABI), 4 cores, littleEndian true
MachineDataInfo: runtimeValidated true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    8 / 8
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 1.8.0_74 (1.8.0u74), VM: Java HotSpot(TM) 64-Bit Server VM, Runtime: Java(TM) SE Runtime Environment
Platform: Java Vendor: Oracle Corporation, http://java.oracle.com/, JavaSE: true, Java6: true, AWT enabled: true
-----------------------------------------------------------------------------------------------------
JoglVersion
Implementation-Manifest-Info: Package: com.jogamp.opengl
Extension Name: com.jogamp.opengl
Specification Title: Java Bindings for OpenGL API Specification
Specification Vendor: JogAmp Community
Specification Version: 2.3
Implementation Title: Java Bindings for OpenGL Runtime Environment
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.3.2
Implementation Build: 2.3-b1469-20151010
Implementation Branch: origin/master
Implementation Commit: e794fc40ba723f2fca4ac892e873975fb393e007

GlueGenVersion
Implementation-Manifest-Info:  Application-Name = GlueGen Run-Time
 Implementation-Title = GlueGen Run-Time
 Implementation-Branch = origin/master
 Implementation-Version = 2.3.2
 Specification-Vendor = JogAmp Community
 Implementation-Vendor-Id = com.jogamp
 Specification-Title = GlueGen Java Bindings Generator
 Application-Library-Allowable-Codebase = *
 Manifest-Version = 1.0
 Implementation-Vendor = JogAmp Community
 Ant-Version = Apache Ant 1.9.4
 Permissions = all-permissions
 Trusted-Library = true
 Implementation-Build = 2.3-b900-20151009
 Codebase = *.jogamp.org
 Extension-Name = com.jogamp.common
 Created-By = 1.8.0_60-b27 (Oracle Corporation)
 Implementation-URL = http://jogamp.org/
 Implementation-Commit = cc1e9bc698b7f11097c1e114027e53121552f280
 Specification-Version = 2.3
Comment 3 Julien Gouesse 2016-04-06 15:03:34 CEST
Thank you. Can you run com.jogamp.opengl.test.junit.jogl.acore.anim.TestAWTCardLayoutAnimatorStartStopBug532?
Comment 4 Claudia Steiger 2016-04-11 11:04:08 CEST
Hello, I can't execute the mentioned class
com.jogamp.opengl.test.junit.jogl.acore.anim.TestAWTCardLayoutAnimatorStartStopBug532
I loaded different jars, but now I get e.g. in UITestCase SingletonJunitCase

Class not found com.jogamp.opengl.test.junit.jogl.acore.anim.TestAWTCardLayoutAnimatorStartStopBug532
java.lang.ClassNotFoundException: com.jogamp.opengl.test.junit.jogl.acore.anim.TestAWTCardLayoutAnimatorStartStopBug532
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:685)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

Which version from jogl-master shall I execute? Where do I get the correct one/other depending sources?
The one I downloaded does not seem to be consistent.

Thanks Claudia
Comment 5 Julien Gouesse 2016-04-11 11:36:51 CEST
(In reply to Claudia Steiger from comment #4)
> Hello, I can't execute the mentioned class
> com.jogamp.opengl.test.junit.jogl.acore.anim.
> TestAWTCardLayoutAnimatorStartStopBug532
> I loaded different jars, but now I get e.g. in UITestCase SingletonJunitCase
> 
> Class not found
> com.jogamp.opengl.test.junit.jogl.acore.anim.
> TestAWTCardLayoutAnimatorStartStopBug532
> java.lang.ClassNotFoundException:
> com.jogamp.opengl.test.junit.jogl.acore.anim.
> TestAWTCardLayoutAnimatorStartStopBug532
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> loadClass(RemoteTestRunner.java:685)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> loadClasses(RemoteTestRunner.java:421)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:444)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:675)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
> java:382)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.
> java:192)
> 
> Which version from jogl-master shall I execute? Where do I get the correct
> one/other depending sources?
> The one I downloaded does not seem to be consistent.
> 
> Thanks Claudia

You need to configure your machine as you were trying to build JOGL from source to make it work, i.e use Github to get all necessary projects. Sorry, I know that it's time consuming.
Comment 6 Claudia Steiger 2016-04-12 13:40:58 CEST
Hello, can you send me a concrete link to the source(s) you would prefer me to use on this MAC OS Machine? Thanks
Comment 7 Julien Gouesse 2016-04-12 20:44:42 CEST
(In reply to Claudia Steiger from comment #6)
> Hello, can you send me a concrete link to the source(s) you would prefer me
> to use on this MAC OS Machine? Thanks

https://github.com/gouessej/jogl
https://github.com/gouessej/joal
https://github.com/gouessej/gluegen
Comment 8 Claudia Steiger 2016-04-14 18:46:46 CEST
Created attachment 780 [details]
log/output from junit on the MAC

Hi, 
I installed/build as described (independant from our app) in HowToBuild.html  and run all junit-tests. See attached file. Please let me know if you need more info.