-
Bug
-
Resolution: Fixed
-
P3
-
7u6
Some time during the 2.2 release (not sure exactly when), modality stopped working on Mac OS X. To reproduce this, run either of the following programs in rt-closed/toys/HelloWorld:
1. helloworld.HelloAlert
Click on the "Toggle Color" button. This will bring up an appication modal dialog which should prevent any input events from being delivered to the first window. However, if you click on the "Question" button (or on the "Toggle Color" button again) you will see that the window is still active.
2. helloworld.HelloModality
Select either the "WINDOW_MODAL" or "APPLICATION_MODAL" radio button, then click on "Create Dialog". This will bring up a modal dialog that should block events from being delivered to the first window. However, you will see that the controls are active and will receive events.
Both of the above programs behave correctly on Windows. Both of them work on Mac with JavaFX 2.1. Both of them fail on Mac with JavaFX 2.2.
1. helloworld.HelloAlert
Click on the "Toggle Color" button. This will bring up an appication modal dialog which should prevent any input events from being delivered to the first window. However, if you click on the "Question" button (or on the "Toggle Color" button again) you will see that the window is still active.
2. helloworld.HelloModality
Select either the "WINDOW_MODAL" or "APPLICATION_MODAL" radio button, then click on "Create Dialog". This will bring up a modal dialog that should block events from being delivered to the first window. However, you will see that the controls are active and will receive events.
Both of the above programs behave correctly on Windows. Both of them work on Mac with JavaFX 2.1. Both of them fail on Mac with JavaFX 2.2.
- relates to
-
JDK-8102418 Mac: List of open windows in the dock icon menu
-
- Closed
-