Consider an application that has a menubar (that has copy paste menu items) and a textfield; try the following :-
1) select text in a textfield,
2) go to the MenuBar to click on copy action to copy the selected value in the TextField
When clicking on the menuBar, the menuBar gets focused, the TextField loses the focus and loses the selection, so no way to do copying.
1) select text in a textfield,
2) go to the MenuBar to click on copy action to copy the selected value in the TextField
When clicking on the menuBar, the menuBar gets focused, the TextField loses the focus and loses the selection, so no way to do copying.
- relates to
-
JDK-8127205 Return key in a TextField makes the first menu item within the menu bar open
- Closed
-
JDK-8127437 MenuBar: focused state is not displayed
- Closed
-
JDK-8128918 MenuBar does not lose focus after clicking a menu item
- Closed