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

REGRESSION:ToolTipManager behaves incorrectly in 1.3.1_03

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: gm110360 Date: 05/09/2002


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

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

      A DESCRIPTION OF THE PROBLEM :
      I have a table where some cells have tool tips, while
      others do not. If you move the mouse over a cell (which has
      a tool tip) from outside the table the tool tip displays
      correctly. If you move the mouse from a cell with no tool
      tip to a cell with a tool tip, no tool tip is displayed.

      In other words tool tips are not displayed as the mouse
      travels from cells with no tool tip to cells with tool
      tips.

      After searching through the source code for
      javax.swing.ToolTipManager I noted that in JDK 1.3.1_03 a
      line was added in mouseMoved() at line 548:
          insideComponent = null;

      It looks to me like if any portion of a component returns
      null for either getToolTipText() or getToolTipLocation()
      then all future calls to showTipWindow() will fail.

      (I would like to point out that in JDK 1.3.1_02 this
      problem did not exist.)



      REGRESSION. Last worked in version 1.3.1

      This bug can be reproduced always.

      Release Regression From : 1.3.0_02
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Review ID: 146386)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gmanwanisunw Girish Manwani (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: