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

Swing tooltips don't dissapear when the mouse moves over them

XMLWordPrintable

      Name: jk109818 Date: 05/13/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-
      b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows 2000 [Version
      5.00.2195]

      A DESCRIPTION OF THE PROBLEM :
      Swing tooltips should dissapear when the mouse moves over the tooltip to
      avoid obscuring whatever is under the tooltip. Whether this is the way it
      should behave in other look and feels, Windows behaves like that, and so
      should the windows look and feel under swing.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Run the Notepad demo program that comes with the JDK.
      2. Resize the
      frame so that only the buttons are visible (the bottom of the frame should
      be right under the buttons). This step is necessary to make the tooltips
      appear within the button.
      3. Move the mouse cursor over one of the
      buttons and wait for the tooltip to appear.
      4. Carefully move the mouse
      cursor into the tooltip without exiting the button.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Swing tooltips stay visible when the mouse cursor enters them - they should
      not.

      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Don't use lightweight tooltips or don't use tooltips for components near
      the border of the frame.
      (Review ID: 146516)
      ======================================================================

            Unassigned Unassigned
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: