Pivot
  1. Pivot
  2. PIVOT-647

IllegalArgumentException when attempting to show a tooltip set against a Display

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 2.0.1
    • Component/s: wtk
    • Labels:
      None
    • Environment:
      n/a

      Description

      Component#getWindow() returns null for a Display, which in turn causes the IAE

      Note that the native frame title is also changed (blanked) while the tooltip is being shown.
      Perhaps the tooltip should have its title set to that of the host frame prior to being shown, or DesktopApplicationContext#updateFrameTitleBar should treat tooltips differently?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        248d 10h 9m 1 Noel Grandin 01/Jun/11 15:40
        Noel Grandin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Noel Grandin [ grandinj ]
        Resolution Fixed [ 1 ]
        Hide
        Noel Grandin added a comment -

        Resolved in rev 1130166

        Show
        Noel Grandin added a comment - Resolved in rev 1130166
        Hide
        Greg Brown added a comment -

        This issue is most likely still valid.

        Show
        Greg Brown added a comment - This issue is most likely still valid.
        Sandro Martini made changes -
        Fix Version/s 2.0.1 [ 12315951 ]
        Hide
        Sandro Martini added a comment -

        Is this bug still valid ?

        Show
        Sandro Martini added a comment - Is this bug still valid ?
        Hide
        Greg Brown added a comment -

        We should probably override setTooltipText() in Display to throw UnsupportedOperationException.

        Show
        Greg Brown added a comment - We should probably override setTooltipText() in Display to throw UnsupportedOperationException.
        Chris Bartlett made changes -
        Field Original Value New Value
        Attachment DisplayTooltip.java [ 12455588 ]
        Chris Bartlett created issue -

          People

          • Assignee:
            Noel Grandin
            Reporter:
            Chris Bartlett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development