Re: Mac Canvas3D location bug
Posted by
Sven Gothel on
Oct 06, 2013; 5:49pm
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4030169.html
On 10/06/2013 06:28 PM, Manu [via jogamp] wrote:
> Wouldn't it be enough and simpler to add a java.awt.event.HierarchyListener to
> the component and follow SHOWING_CHANGED events?
That is what I meant w/ 'we need to snoop on the hierarchy listener ..', yes.
If we intend to have visibility propagation for the general case for all JAWTWindow's,
we need to track the diff. visibility states.
See bug 849 .. i.e. don't waste performance for invisible components.
This will use the hierarchy listener as well within JAWTWindow, sure.
~Sven