ICEfaces
  1. ICEfaces
  2. ICE-3179

Tooltip not displayed on correct position - Showcase in Liferay

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Icefaces 1.7.0 FINAL - Tomcat 6 - Liferay 4.4.0 - JDK 6 - JSF 1.2_04 - Facelets

      Description

      The tooltip is being displayed somewhere right below the desired place (about 150px per axis)

      I use this component in my web application where the position is wrong as well.

        Activity

        Hide
        Ken Fyten added a comment -

        Another Liferay position: relative; related issue?

        Show
        Ken Fyten added a comment - Another Liferay position: relative; related issue?
        Hide
        Deryk Sinotte added a comment -

        I tested a combination of things:

        Liferay: 4.4.2, 5.0.1 (using different themes and signed on/off)
        ICEfaces: 1.7.0, 1.7.1
        Tomcat 6
        Browsers: Safari and Firefox

        I found that the position of the tooltip was not consistent and the positioning was affected by:

        • entry point of the mouse into the context area
        • the speed of the mouse
        • the hover delay

        In other words, depending on where you entered the area, how quickly the mouse moved, where it ended up, and how long the hover delay was, the positioning of the tooltip would be closer or farther from the "correct" spot. To me it looks like we are capturing the mouse coordinates too early in the process so that when the tooltip is finally displayed, the actual position of the mouse may be inaccurate to a lesser or greater degree. I'm going to look at the tooltip code to see if I can confirm this.

        Show
        Deryk Sinotte added a comment - I tested a combination of things: Liferay: 4.4.2, 5.0.1 (using different themes and signed on/off) ICEfaces: 1.7.0, 1.7.1 Tomcat 6 Browsers: Safari and Firefox I found that the position of the tooltip was not consistent and the positioning was affected by: entry point of the mouse into the context area the speed of the mouse the hover delay In other words, depending on where you entered the area, how quickly the mouse moved, where it ended up, and how long the hover delay was, the positioning of the tooltip would be closer or farther from the "correct" spot. To me it looks like we are capturing the mouse coordinates too early in the process so that when the tooltip is finally displayed, the actual position of the mouse may be inaccurate to a lesser or greater degree. I'm going to look at the tooltip code to see if I can confirm this.
        Hide
        Deryk Sinotte added a comment -

        Back to Ken for re-assignment. It looks as if there are some optimizations we could do to determine the mouse position before displaying the tooltip or popup menu.

        Show
        Deryk Sinotte added a comment - Back to Ken for re-assignment. It looks as if there are some optimizations we could do to determine the mouse position before displaying the tooltip or popup menu.

          People

          • Assignee:
            Unassigned
            Reporter:
            Tobias Amon
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: