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

Button render incorrectly after rotate

    Details

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

      linux, jdk 1.8.0-ea-b56, SWPipeline

      Description

      Run this code -

       @Override
          public void start(Stage stage) throws Exception {
              BorderPane root = new BorderPane();
              Button button = new Button("Button");
              button.setFocusTraversable(false);
              root.setCenter(button);
              Slider slider = new Slider(0,360,10);
              slider.setValue(45);
              button.rotateProperty().bindBidirectional(slider.valueProperty());
              root.setTop(slider);
              
              Scene scene = new Scene(root, 300, 300);
              stage.setScene(scene);
              stage.setTitle(VersionInfo.getRuntimeVersion());
              stage.show();
          }

        Attachments

          Activity

            People

            • Assignee:
              msoch Martin Ĺ och
              Reporter:
              slugovoy Sergey Lugovoy (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: