ICEfaces
  1. ICEfaces
  2. ICE-11099

ace:dialog - modal layer not shown after tabSet change

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Scenario:

      An ace:tabSet is set with two tabs. In each tab there is an ace:dialog that has modal=true set on each. These dialogs are controlled via the server side.

      If a dialog is opened in one of the tabs, closed, and the tab is changed. The dialog for the second tab is not shown with a model background. The dialog itself is shown as it was set with modal=false.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case to reproduce the issue.

        Steps:

        • Open welcomeICEfaces.jsf
        • In the first tab, use the button to open the dialog. The dialog is shown with the modal background.
        • Close the dialog.
        • Navigate to the next tab and perform the same options. The modal background is not shown in this tab.
        • Moving back to the first tab, it no longer shows the modal background as well.
        Show
        Arran Mccullough added a comment - Attached test case to reproduce the issue. Steps: Open welcomeICEfaces.jsf In the first tab, use the button to open the dialog. The dialog is shown with the modal background. Close the dialog. Navigate to the next tab and perform the same options. The modal background is not shown in this tab. Moving back to the first tab, it no longer shows the modal background as well.
        Hide
        Arran Mccullough added a comment -

        Issue is reproducible when using the client side techniques for the ace:dialog. One difference is a noticeable "flash" of the modal background when opening the dialog.

        Show
        Arran Mccullough added a comment - Issue is reproducible when using the client side techniques for the ace:dialog. One difference is a noticeable "flash" of the modal background when opening the dialog.
        Hide
        Mircea Toma added a comment -

        The applied fix registers the ice.onElementRemove callback (used for cleaning up the dialog when its markup is removed) only when the dialog is shown instead of doing it in the dialog's constructor.

        Show
        Mircea Toma added a comment - The applied fix registers the ice.onElementRemove callback (used for cleaning up the dialog when its markup is removed) only when the dialog is shown instead of doing it in the dialog's constructor.
        Hide
        Carmen Cristurean added a comment -

        Verified with ICEfaces EE-3.3.0.GA_P04 Build #2 using attached test case, in IE7/8/11, FF41, Chrome51, MS Edge/ Tomcat7.

        Show
        Carmen Cristurean added a comment - Verified with ICEfaces EE-3.3.0.GA_P04 Build #2 using attached test case, in IE7/8/11, FF41, Chrome51, MS Edge/ Tomcat7.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: