-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
7
-
generic
-
os_x
http://java.net/jira/browse/MACOSX_PORT-265 submitted 2011/08/11 by Yuri Nesterenko
Create a Frame with a Button and it's child Dialog. Disable Frame. If you then dispose of the Dialog, Frame may become active, quite enabled, and focusable.
In the attached small example, Frame will be displayed with a Dialog and then disabled. Actually, frame.setEnabled(false) seems to have no effect at all, though. On other platforms, it's child Button also would became disabled but not in this port. Click a button in Dialog: it will dispose Dialog. If you click then the Frame's Button, the Frame will cheerfully gain focus, and Button fire an action event.
Create a Frame with a Button and it's child Dialog. Disable Frame. If you then dispose of the Dialog, Frame may become active, quite enabled, and focusable.
In the attached small example, Frame will be displayed with a Dialog and then disabled. Actually, frame.setEnabled(false) seems to have no effect at all, though. On other platforms, it's child Button also would became disabled but not in this port. Click a button in Dialog: it will dispose Dialog. If you click then the Frame's Button, the Frame will cheerfully gain focus, and Button fire an action event.
- relates to
-
JDK-7124376 [macosx] Modal dialog lost focus
- Closed