Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1768

Tooltip from previous view appears on new view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Cardinal Sprint 4 (5/4-5/15)

      Description

      To reproduce:

      • click on a button that navigates to a new view before the tooltip has appeared
      • the tooltip will appear on the new view
      • tooltip will disappear if you mouse over a new button that has a tooltip

      This happens for two reasons:
      1. The tooltip is supposed to be cancelled on "mouseout" events. The element being destroyed on a view change doesn't trigger a mouseout event.
      2. The tooltip appears on a timer - it appears 100ms after the mouse is over the element (meaning it is asynchronous). Having a $scope.$on('destroy') or window.unload cancellation doesn't work if the view is destroyed before the tooltip has a chance to appear.

      Tooltip implementation may have to be refactored.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            bri Bri Prebilic Cole
            Reporter:
            bri Bri Prebilic Cole
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: