ICEfaces
  1. ICEfaces
  2. ICE-3736

tooltip positioning relative to screen

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ANY

      Description

      when tooltip renders at the bottom of a screen, only partial is visible. maybe we should consider render its position relative to the screen.

        Issue Links

          Activity

          Sam Xiao created issue -
          Sam Xiao made changes -
          Field Original Value New Value
          Attachment screenshot.jpg [ 11323 ]
          Sam Xiao made changes -
          Security Private [ 10001 ]
          Icefaces Administrator made changes -
          Attachment screenshot.jpg [ 11323 ]
          Icefaces Administrator made changes -
          Security Private [ 10001 ]
          Sam Xiao made changes -
          Attachment screenshot-1.jpg [ 11324 ]
          Sam Xiao made changes -
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.8DR#3 [ 10143 ]
          Assignee Priority P2
          Assignee Ken Fyten [ ken.fyten ] Yip Ng [ yip.ng ]
          Hide
          Ken Fyten added a comment -

          Same thing applies for right/left edges of the viewport as well. Might be sufficient to ensure that the panelTooltip edges are always inside the viewport.

          Show
          Ken Fyten added a comment - Same thing applies for right/left edges of the viewport as well. Might be sufficient to ensure that the panelTooltip edges are always inside the viewport.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18176 Thu Jan 15 16:32:08 MST 2009 yip.ng ICE-3736
          Changed to ensure that the panelTooltip edges are always inside the viewport.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/tooltip_panelpopup.js
          yip.ng made changes -
          Attachment ScreenHunter_01 Jan. 15 17.23.jpg [ 11444 ]
          yip.ng made changes -
          Attachment ScreenHunter_02 Jan. 15 17.23.jpg [ 11445 ]
          yip.ng made changes -
          Attachment ScreenHunter_03 Jan. 15 17.24.jpg [ 11446 ]
          yip.ng made changes -
          Attachment ScreenHunter_05 Jan. 15 17.25.jpg [ 11447 ]
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Mandeep Hayher added a comment -

          Tooltip for provinces in component-showcase sample app still seems to have positioning problem. If the target tooltip doesnot fit below the province name in current window size, the window scroll bar is forced to move and tooltip disappears while this scrolling happens.

          Show
          Mandeep Hayher added a comment - Tooltip for provinces in component-showcase sample app still seems to have positioning problem. If the target tooltip doesnot fit below the province name in current window size, the window scroll bar is forced to move and tooltip disappears while this scrolling happens.
          Mandeep Hayher made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          yip.ng added a comment -

          After reverting all my changes, the problem described by Mandeep still exists. So this is a different problem that existed before. Also, it seems that the problem occurs only in Firefox, not in IE. Need to fix this other problem first.

          Show
          yip.ng added a comment - After reverting all my changes, the problem described by Mandeep still exists. So this is a different problem that existed before. Also, it seems that the problem occurs only in Firefox, not in IE. Need to fix this other problem first.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18316 Tue Feb 10 09:31:28 MST 2009 yip.ng ICE-3736
          Changed to ensure that the panelTooltip edges are always inside the viewport.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java
          yip.ng made changes -
          Attachment ScreenHunter_02 Feb. 10 10.32.jpg [ 11511 ]
          Attachment ScreenHunter_03 Feb. 10 10.34.jpg [ 11512 ]
          Hide
          yip.ng added a comment -

          Finally found what caused the other problem. It was caused by the fix for ICE-3720. Nothing to do with my changes. If we revert changes for ICE-3720, everything will work fine. See the attached screenshots.

          Show
          yip.ng added a comment - Finally found what caused the other problem. It was caused by the fix for ICE-3720 . Nothing to do with my changes. If we revert changes for ICE-3720 , everything will work fine. See the attached screenshots.
          yip.ng made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-3512 [ ICE-3512 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P2
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Yip Ng [ yip.ng ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Sam Xiao
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: