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

Mnemonics issue : changing setLabelFor() target fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      jdk1.8.0 b88

      Description

      Consider the following test case on Windows:
      1. Check "label1.setLabelFor(button1)";
      2. Check "label1.mnemonicsParse()";

      3. Push "Alt"; Push "1"; The button "Button 1" will get focus;

      4.Check "label1.setLabelFor(button2)";
      5. Push "1";
      The button "Button 1" will get focus but it is expected that it won't be focused in such case.

      in b85 the expected behavior is reproducible.

        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: