-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: jfx26
-
Component/s: javafx
-
os_x
The system menu bar tests in tests/manual/systemmenu require some expansion and cleanup.
- Add tests to verify that the correct thing happens when all windows are iconified. (If purely JavaFX you should see a single application menu. If purely Swing or if Swing is launched first you should see the set of menus associated with the last focused Swing window. Such a test should catch the case where the last focused Swing window is not the last window that had focus i.e. first a Swing window is iconified, then a JavaFX window is iconified).
- The test windows for JavaFX should include a Menu or ComboBox or some other control that brings up a PopupWindow. This should have no effect on what's in the system menu but currently the Mac glass platform code has to take steps to ensure that it doesn't.
- The tests were converted from automated tests to manual tests and the result can be a little confusing, there are busy loops trying to force the user to reproduce steps in a specific order. Either restore full automation (only launched manually) or complete the transition to fully manual.
- Add tests to verify that the correct thing happens when all windows are iconified. (If purely JavaFX you should see a single application menu. If purely Swing or if Swing is launched first you should see the set of menus associated with the last focused Swing window. Such a test should catch the case where the last focused Swing window is not the last window that had focus i.e. first a Swing window is iconified, then a JavaFX window is iconified).
- The test windows for JavaFX should include a Menu or ComboBox or some other control that brings up a PopupWindow. This should have no effect on what's in the system menu but currently the Mac glass platform code has to take steps to ensure that it doesn't.
- The tests were converted from automated tests to manual tests and the result can be a little confusing, there are busy loops trying to force the user to reproduce steps in a specific order. Either restore full automation (only launched manually) or complete the transition to fully manual.
- relates to
-
JDK-8359108 Mac - When Swing starts First, native application menu doesn't work for JavaFX
-
- Resolved
-