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

[Mnemonics] setLabelFor(null) doesn't remove label binding to the button

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      jdk1.8.0b89, Windows 7 x64

      Description

      To reproduce on Windows:
      1. Check "label1.setLabelFor(button1)";
      2. Check "label1.mnemonicsParse()";
      3. Push ALT and then 1;
      Result: focus will be on the Button 1
      4. Uncheck "label1.setLabelFor(button1)";
      5. Push TAB to remove focus from the Button 1;
      6. Push 1.
      It is expected that the focus won't move to the Button 1 but it will.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                miflemi Mick Fleming (Inactive)
                Reporter:
                dzinkevi Dmitry Zinkevich (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Imported: