Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-647

IllegalArgumentException when attempting to show a tooltip set against a Display

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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
        grandinj Noel Grandin added a comment -

        Resolved in rev 1130166

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

        This issue is most likely still valid.

        Show
        gbrown Greg Brown added a comment - This issue is most likely still valid.
        Hide
        smartini Sandro Martini added a comment -

        Is this bug still valid ?

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

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

        Show
        gbrown Greg Brown added a comment - We should probably override setTooltipText() in Display to throw UnsupportedOperationException.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development