ICEfaces
  1. ICEfaces
  2. ICE-6285

blockUIOnSubmit causes flickering ice:panelTooltip if used with displayListener

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA_P02
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces 1.8.2
      Firefox 3.x, 4 and IE 7, 8, 9.
    • Assignee Priority:
      P2

      Description

      ice:panelTooltip-components may be filled dynamically with content by implementing a display listener:

      <ice:panelTooltip id="..." displayListener="#{tooltipController.displayListener}" ... displayOn="hover" hideOn="mouseout">
      ...
      </ice:panelTooltip>


      This feature currently conflicts with blockUIOnSubmit as this parameter causes the tooltip to flicker. This can be reproduced in the component show case (Layout Panels -> Tooltip panel) by activating blockUIOnSubmit and hovering one of the provinces.

        Activity

        Dirk Mahler created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Support Customer Ref. #s 9972
        Arran Mccullough made changes -
        Affects Version/s 1.8.2-EE-GA_P02 [ 10226 ]
        Arran Mccullough made changes -
        Support Customer Ref. #s 9972 9972 - https://na5.salesforce.com/5007000000G4Sff
        Arran Mccullough made changes -
        Salesforce Case [5007000000G4Sff]
        Ken Fyten made changes -
        Fix Version/s EE-1.8.2.GA_P03 [ 10251 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Assignee Priority P2
        Assignee Mircea Toma [ mircea.toma ]
        Priority Major [ 3 ] Minor [ 4 ]
        Hide
        Ken Fyten added a comment -

        Testing shows this issue seems to be limited to Firefox browsers (3.x, 4), and IE browsers. The tooltip panel displays, but quickly disappears. On Chrome and Safari it correctly remains visible (while mouse is hovered over a province name).

        Show
        Ken Fyten added a comment - Testing shows this issue seems to be limited to Firefox browsers (3.x, 4), and IE browsers. The tooltip panel displays, but quickly disappears. On Chrome and Safari it correctly remains visible (while mouse is hovered over a province name).
        Ken Fyten made changes -
        Environment ICEfaces 1.8.2
        Firefox 3.x (probably other browsers are affected as well)
        ICEfaces 1.8.2
        Firefox 3.x, 4 and IE 7, 8, 9.
        Hide
        Mircea Toma added a comment -

        When blockUIOnSubmit feature is enabled there's an iframe rendered as an overlay to block user interaction with the underlaying elements. It seems that FF and IE fire the 'mouseout' event when the overlay is rendered on top the element owning the rendered tooltip even if the pointer was not moved at all. Thus 'mouseout' event is triggered right after the tooltip update is received, event that is wired to hide the tooltip hence the flickering.

        Show
        Mircea Toma added a comment - When blockUIOnSubmit feature is enabled there's an iframe rendered as an overlay to block user interaction with the underlaying elements. It seems that FF and IE fire the 'mouseout' event when the overlay is rendered on top the element owning the rendered tooltip even if the pointer was not moved at all. Thus 'mouseout' event is triggered right after the tooltip update is received, event that is wired to hide the tooltip hence the flickering.
        Hide
        Mircea Toma added a comment -

        Added test that verifies if the position of the mouse is moved outside the tooltip enabled element, and only then act on the triggered 'mouseout' event. This way the tooltip is hidden only when the mouse is truly moved outside the tooltip enabled element.

        Show
        Mircea Toma added a comment - Added test that verifies if the position of the mouse is moved outside the tooltip enabled element, and only then act on the triggered 'mouseout' event. This way the tooltip is hidden only when the mouse is truly moved outside the tooltip enabled element.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24521 Tue May 10 01:57:15 MDT 2011 mircea.toma ICE-6285 Added test that verifies if the position of the mouse is moved outside the tooltip enabled element, and only then act on the triggered 'mouseout' event.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/tooltip_panelpopup.js
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
        Fix Version/s 2.1 [ 10241 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24547 Wed May 11 14:49:57 MDT 2011 mircea.toma ICE-6285 Added test that verifies if the position of the mouse is moved outside the tooltip enabled element, and only then act on the triggered 'mouseout' event.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24548 Wed May 11 14:56:42 MDT 2011 mircea.toma ICE-6285 Added test that verifies if the position of the mouse is moved outside the tooltip enabled element, and only then act on the triggered 'mouseout' event.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/javascript/extras/extras.js
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Fix Version/s 2.1 [ 10241 ]
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Dirk Mahler
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: