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

Tool Tip flickers if node over right edge of screen

XMLWordPrintable

    • x86
    • solaris_8

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      If an oder over right edge toe tool tip flickers
      only CASPIAN has this bug
      MODENA works


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      run test programm
      -> move GUI to right edge (half of button is visible)
      -> move curos over button
      -> tooltip is showing
      -> tooltip is below mouse
      -> tooltip is hidding
      -> mouse is over node
      -> tooltip is showing

      http://194.25.240.197:9980/tooltip.avi


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javafx.application.Application;
      import javafx.geometry.Insets;
      import javafx.geometry.Pos;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.control.Tooltip;
      import javafx.scene.layout.BorderPane;
      import javafx.stage.Stage;

      public final class ToolTipMain extends Application
      {
          public static void main(String[] args) {
              setUserAgentStylesheet(STYLESHEET_CASPIAN);
              launch(ToolTipMain.class, args);
          }
          
          @Override
          public void start(Stage primaryStage) throws Exception {

              final Button button = new Button("text");
              final Tooltip toolTip = new Tooltip("ToolTip");
              button.setTooltip(toolTip);
              
              final BorderPane root = new BorderPane();
              BorderPane.setAlignment(button, Pos.CENTER);
              BorderPane.setMargin(button, new Insets(40));
              root.setCenter(button);

              primaryStage.setScene(new Scene(root));
              primaryStage.sizeToScene();
              primaryStage.centerOnScreen();
              primaryStage.show();
          }
      }
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: