-
Bug
-
Resolution: Unresolved
-
P3
-
11, 17, 20, 21, 22
-
generic
-
os_x
================
Test environment
================
Apple M1 Pro, macOS Ventura version 13.4
java version "20" 2023-03-21
Java(TM) SE Runtime Environment (build 20+36-2344)
Java HotSpot(TM) 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)
openjdk version "21-ea"
OpenJDK Runtime Environment (build 21-ea+23-1988)
OpenJDK 64-Bit Server VM (build 21-ea+23-1988, mixed mode, sharing)
================
Test application
================
SwingSet2.jar
SwingSet2 can be downloaded from:
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#swingset2
======================
Test to reproduce bugs
======================
1. On macOS, enable the screen magnifier Zoom in System Settings > Accessibility > Zoom.
For example, switch on "Use scroll gesture with modifier keys to zoom".
Set Zoom Style "Full screen".
In Zoom > Advanced > Follow Focus, set "Follow keyboard focus" to "Always".
2. Start SwingSet2.jar with jdk-21 (or idk-20, which behaves the same).
-> SwingSet2 window is displayed. The Togglebutton “JInternalFrame demo” has the keyboard focus.
3. Zoom into the SwingSet2 application, so that the ToggleButton "JInternalFrame demo" fills most your monitor screen.
4. Press Right Arrow key several times to move the keyboard focus to the ToggleButons on the right side of the toolbar.
-> The keyboard focus moves out of the magnified view.
Bug: Zoom does not follow the keyboard focus.
Expected behaviour: Zoom follows the keyboard focus, so that the currently focused component is always visible in the magnified view.
5. Click on the ToggleButton “JButton JRadioButton JToggleButton JCheckbox demo”.
-> The tab group “Button Demo” is shown.
6. Press Tab key several times to move the keyboard focus to the other components of the tab group.
-> The keyboard focus moves out of the magnified view.
Same bug as mentioned before.
7. Press F10 key to open the SwingSet2 menu and use the arrow keys to move the menu and menu item selection.
-> The selected menu or menu item moves out or is out of the magnified view.
Same bug as mentioned before.
8. Zoom out and click on the ToggleButton "JTable demo".
-> The tab group “Table Demo” is shown.
9. Click on a cell of the displayed table to set the keyboard focus on it, and zoom in.
10. Press the Arrow keys to move the cell selection.
-> The selected cell moves out or is out of the magnified view.
Same bug as mentioned before.
Test environment
================
Apple M1 Pro, macOS Ventura version 13.4
java version "20" 2023-03-21
Java(TM) SE Runtime Environment (build 20+36-2344)
Java HotSpot(TM) 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)
openjdk version "21-ea"
OpenJDK Runtime Environment (build 21-ea+23-1988)
OpenJDK 64-Bit Server VM (build 21-ea+23-1988, mixed mode, sharing)
================
Test application
================
SwingSet2.jar
SwingSet2 can be downloaded from:
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#swingset2
======================
Test to reproduce bugs
======================
1. On macOS, enable the screen magnifier Zoom in System Settings > Accessibility > Zoom.
For example, switch on "Use scroll gesture with modifier keys to zoom".
Set Zoom Style "Full screen".
In Zoom > Advanced > Follow Focus, set "Follow keyboard focus" to "Always".
2. Start SwingSet2.jar with jdk-21 (or idk-20, which behaves the same).
-> SwingSet2 window is displayed. The Togglebutton “JInternalFrame demo” has the keyboard focus.
3. Zoom into the SwingSet2 application, so that the ToggleButton "JInternalFrame demo" fills most your monitor screen.
4. Press Right Arrow key several times to move the keyboard focus to the ToggleButons on the right side of the toolbar.
-> The keyboard focus moves out of the magnified view.
Bug: Zoom does not follow the keyboard focus.
Expected behaviour: Zoom follows the keyboard focus, so that the currently focused component is always visible in the magnified view.
5. Click on the ToggleButton “JButton JRadioButton JToggleButton JCheckbox demo”.
-> The tab group “Button Demo” is shown.
6. Press Tab key several times to move the keyboard focus to the other components of the tab group.
-> The keyboard focus moves out of the magnified view.
Same bug as mentioned before.
7. Press F10 key to open the SwingSet2 menu and use the arrow keys to move the menu and menu item selection.
-> The selected menu or menu item moves out or is out of the magnified view.
Same bug as mentioned before.
8. Zoom out and click on the ToggleButton "JTable demo".
-> The tab group “Table Demo” is shown.
9. Click on a cell of the displayed table to set the keyboard focus on it, and zoom in.
10. Press the Arrow keys to move the cell selection.
-> The selected cell moves out or is out of the magnified view.
Same bug as mentioned before.