Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8118345

menubar steals focus on click making it impossible to do copy paste selected text in a TextField.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psomashe Parvathi Somashekar (Inactive)
                Reporter:
                psomashe Parvathi Somashekar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: