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

[TitledPane] mnemonics are not shown on alt.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6, 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      2.2.0b21, controls scrum of jfx8 of august17.

      Description

      Run the code:

          @Override
          public void start(Stage stage) throws Exception {
              Accordion acc = new Accordion();

              TitledPane pane1 = new TitledPane();
              pane1.setText("Some _text");
              pane1.setMnemonicParsing(true);
              pane1.setGraphic(new Label("Node"));
              pane1.setContent(new Button("Some _button"));
              acc.getPanes().addAll(pane1);

              VBox pane = new VBox();
              pane.getChildren().addAll(acc);
              Scene scene = new Scene(pane, 300, 700);
              stage.setScene(scene);
              stage.show();
          }

      When I expand node and press alt, i see underlined "b" in button, but "t" is not underlined. But, alt+b alt+t transfers focus from button to titledPane and back.

        Attachments

          Activity

            People

            Assignee:
            raginip Ragini Prasad (Inactive)
            Reporter:
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: