diff options
author | Sven Gothel <[email protected]> | 2015-07-28 00:37:53 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-28 00:37:53 +0200 |
commit | 4eeddd0d446f8491dde2e5b0e3e11e0d5b0be9b7 (patch) | |
tree | c96f168eee0b4a221ce5fb3c7a549c22555a008f /src/test/com | |
parent | b0af5159bc6100a6262afe6b52f9092a207ac2b3 (diff) |
Bug 1161 - Fix Canvas resize stops the rendering in Mac OS X (mostly from WebStart)
Root cause:
JAWTWindow's JAWTComponentListener 'isShowing'
state is initialized while attaching it on-thread
and updated via hierarchy-changed event.
JAWTComponentListener attachment to the component
is issued at JAWTWindow's creation but on the AWT-EDT,
hence it may happen at a later time.
In this bug scenario, it happens very late,
so that the hierarchy-changed event is missed
and 'isShowing' is never set to 'true'.
Solution is to update 'isShowing' state
on the actual AWT-EDT when attaching to the component.
Also make 'isShowing' volatile.
Diffstat (limited to 'src/test/com')
0 files changed, 0 insertions, 0 deletions