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

        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.
        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 -

        This issue is most likely still valid.

        Show
        Greg Brown added a comment - This issue is most likely still valid.
        Hide
        Noel Grandin added a comment -

        Resolved in rev 1130166

        Show
        Noel Grandin added a comment - Resolved in rev 1130166

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development