Bug 928

Summary: JAWTWindow's JAWTComponentListener _not_ attached and original visibility state not restored @ detach.
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: awtAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
166e5da5298b16b0acbf900004964d370cd0aa29
Workaround: ---
Bug Depends on: 937    
Bug Blocks: 816, 849, 889, 906    

Description Sven Gothel 2013-12-18 20:51:25 CET
Commit ebed9f0322e2a2279a525e04ee3875c9034a7f45 (fix for Bug 906) causes a regression
to fix for Bug 816, Bug 849 and Bug 889 (OSX CALayer Positioning and JAWTWindow visibility).

The commit adds the JAWTComponentListener instance 'jawtComponentListener'
to the component before it's assignment (duh!).

+++

Further more, detaching the JAWTComponentListener shall restore 
the component's original 'local visibility state', which might got overridden
by it's 'hierarchyChanged' implementation.

+++
Comment 1 Sven Gothel 2013-12-18 22:00:25 CET
166e5da5298b16b0acbf900004964d370cd0aa29: Fixed as described