ICEfaces
  1. ICEfaces
  2. ICE-8012

ice:panelPopup - draggable popup position is changed upon first click of header in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03, EE-1.8.2.GA_P04
    • Fix Version/s: EE-1.8.2.GA_P05
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE
    • Assignee Priority:
      P1

      Description

      An ice:panelPopup is set to use position:absolute so that it can be displayed in a location where the popup code is defined in the xhtml code. The panelPopup is set to be draggable and non modal.

      When the header is clicked on the first rendered the position is changed. Investigating the rendered code a left value us set for the popup when first displayed. When the header is clicked a value of 0px is set for the left position value.

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Test case that shows issue. Click on Open Popup button and then the popup header to see issue.

        Show
        Arran Mccullough added a comment - Test case that shows issue. Click on Open Popup button and then the popup header to see issue.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case10891Example.zip [ 14305 ]
        Attachment Case10891Example.war [ 14306 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000KFhjU]
        Ken Fyten made changes -
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Hide
        Ken Fyten added a comment -

        Too risky to change this for P04 at this time.

        Show
        Ken Fyten added a comment - Too risky to change this for P04 at this time.
        Ken Fyten made changes -
        Fix Version/s EE-1.8.2.GA_P05 [ 10331 ]
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Hide
        Mircea Toma added a comment -

        Removing line 171 in bridge/lib/scriptaculous/dragdrop.js fixes the problem.

        171: window.focus(); // allows keypress events if window isn't currently focused, fails for Safari

        Still, it's a mystery why windows.focus() call can cause this issue.

        Show
        Mircea Toma added a comment - Removing line 171 in bridge/lib/scriptaculous/dragdrop.js fixes the problem. 171: window.focus(); // allows keypress events if window isn't currently focused, fails for Safari Still, it's a mystery why windows.focus() call can cause this issue.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28861 Fri Apr 27 10:31:14 MDT 2012 mircea.toma ICE-8012 Fix mysterious IE issue by removing window.focus() call.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/scriptaculous/dragdrop.js
        Hide
        Mircea Toma added a comment -

        Fixed mysterious IE issue by removing window.focus() call.

        Show
        Mircea Toma added a comment - Fixed mysterious IE issue by removing window.focus() call.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: