ICEfaces
  1. ICEfaces
  2. ICE-4400

CLONE -ice:menuPopup does not position/render properly when used in combination with ice:panelDivider and ice:tree

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Icefaces 1.8.0, Facelets, IE7

      Description

      Scenario: my screen is a split panel (ice:panelDivider). The left pane contains a tree (in ice:tree) and right pane shows the content in ice:panelSeries. Now I want to assign a context popup menu to each node of the tree in the left pane.

      Bug manifestation. Upon the right-click on the tree node the menu popup is rendered. But if the menu divs happen to overlap the right pane of split panel (ice:panelDivider) then the overlapped part is corrupted. This effect differs in FF and IE (please see attached images).
      FF: the overlapped part of split panel's right pane shines thru the menu div.
      IE: the right pane of the split panel clips the overlapped part of the menu. That part becomes invisible. Also the positions of the menu divs are shifted.

      By the way, attempts to cure these effects by using 'z-index' do not work.

      Bug description. The concise bug description is given by user 'Pred' in this forum post: http://www.icefaces.org/JForum/posts/list/6583.page. The problem is that the Icefaces has to set menu divs with 'position: absolute'. Within the ice:tree I have to put my ice:menuPopups into ice:panelGroups (see attached menuPopupBug.xhtml). It means that absolutely positioned menu divs become children of tree's internal divs. This would cause problems if they overlapped by any relatively positioned elements on the page.
      I do not have any elements with explicit 'position:relative' on my page. But I suspect that introducing the scrollbars on the divs has the same effect. Note that I set 'height: 30em' on the ice:paneDivider - that may force browsers to consider scrollbars every time they redraw the enclosed divs.
      Anyway, the approach described at http://www.icefaces.org/JForum/posts/list/6583.page worked for my case, but it is too hacky and needs to be moved into the main codebase somehow.

      1. screenshot-01.png
        86 kB
      2. screenshot-02.png
        128 kB
      3. screenshot-03.png
        127 kB

        Issue Links

          Activity

          Sergei Kozyrenko created issue -
          Sergei Kozyrenko made changes -
          Field Original Value New Value
          Link This issue duplicates ICE-3194 [ ICE-3194 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.8RC1 [ 10143 ]
          Fix Version/s 1.8 [ 10161 ]
          Affects Version/s 1.8 [ 10161 ]
          Affects Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Environment Icefaces 1.7.0, Facelets, both FF 2.0 and IE 6/7 Icefaces 1.8.0, Facelets, IE7
          Salesforce Case []
          Andy Hoffman made changes -
          Link This issue blocks ICE-4722 [ ICE-4722 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
          Fix Version/s 1.8.3 [ 10211 ]
          Assignee Priority P1
          Affects Version/s 1.8.2-EE-GA_P01 [ 10220 ]
          Affects Version/s 1.8 [ 10161 ]
          Assignee Yip Ng [ yip.ng ]
          yip.ng made changes -
          Attachment screenshot-01.png [ 12596 ]
          yip.ng made changes -
          Attachment screenshot-01.png [ 12596 ]
          yip.ng made changes -
          Attachment screenshot-01.png [ 12597 ]
          yip.ng made changes -
          Attachment screenshot-02.png [ 12598 ]
          yip.ng made changes -
          Attachment screenshot-03.png [ 12599 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8.2-EE-GA_P01 [ 10220 ]
          Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
          Assignee Priority P1
          Resolution Cannot Reproduce [ 5 ]
          Assignee Yip Ng [ yip.ng ]
          Ken Fyten made changes -
          Salesforce Case []
          Affects Version/s 1.8 [ 10161 ]
          Affects Version/s 1.8.2-EE-GA_P01 [ 10220 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Sergei Kozyrenko
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: