ICEfaces
  1. ICEfaces
  2. ICE-11128

mobile showcase viewManager issue with Chrome browser

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1, EE-4.1.0.GA
    • Fix Version/s: 4.2.BETA, 4.2
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r49141, Tomcat 8. Chrome 52 desktop and mobile browsers.
    • Assignee Priority:
      P2

      Description

      The mobile showcase has icons beside each of it's demos. When using Chrome browser, after viewing a demo then returning to the menu, the icons are no longer displayed. Refreshing the browser clears the issue. This issue can not be reproduced 100% reliably and may be related to latency.

        Activity

        Liana Munroe created issue -
        Liana Munroe made changes -
        Field Original Value New Value
        Attachment 1.PNG [ 22274 ]
        Liana Munroe made changes -
        Description The mobile showcase has icons beside each of it's demos. When using Chrome browser, after viewing a demo then returning to the menu, the icons are no longer displayed. Refreshing the browser clears the issue. The mobile showcase has icons beside each of it's demos. When using Chrome browser, after viewing a demo then returning to the menu, the icons are no longer displayed. Refreshing the browser clears the issue. This issue can not be reproduced 100% reliably and may be related to latency.
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s 4.2 [ 12870 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Mircea Toma added a comment - - edited

        When any of the mobile demos are accessed the coalesced.css resource is reloaded for some reason. Chrome is fetching this large resource through an asynchronous AJAX (during an partial update) which causes the browser to apply the CSS styles after the page was reflowed. This explains why the icons rendered with the help of CSS are not shown.

        Still, when new components are rendered the resources they require are supposed to be referenced separately from the coalesced resource to avoid re-loading such a large file again. Need to investigate why this occurs.

        Show
        Mircea Toma added a comment - - edited When any of the mobile demos are accessed the coalesced.css resource is reloaded for some reason. Chrome is fetching this large resource through an asynchronous AJAX (during an partial update) which causes the browser to apply the CSS styles after the page was reflowed. This explains why the icons rendered with the help of CSS are not shown. Still, when new components are rendered the resources they require are supposed to be referenced separately from the coalesced resource to avoid re-loading such a large file again. Need to investigate why this occurs.
        Hide
        Mircea Toma added a comment -

        The issue was in ResourceOrdering resource handler, the resources that have no dependency meta-data defined are colaesced in a different ordered than the order used for the page load. This in effect changes the entire content of the colesced resource thus causing a reload.

        The applied fix normalises the order for the resources that have no dependency meta-data.

        Show
        Mircea Toma added a comment - The issue was in ResourceOrdering resource handler, the resources that have no dependency meta-data defined are colaesced in a different ordered than the order used for the page load. This in effect changes the entire content of the colesced resource thus causing a reload. The applied fix normalises the order for the resources that have no dependency meta-data.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49305 Wed Sep 21 14:30:51 MDT 2016 mircea.toma ICE-11128 Normalise the order for the resources that have no dependency meta-data.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/ResourceOrdering.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/test.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49306 Wed Sep 21 14:32:18 MDT 2016 mircea.toma ICE-11128 Fix circular dependency, add dependency constrains for showcase_mobile.css resource.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources-meta/resource-dependency.xml
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r49310. Tomcat 8, FF 47, MS edge, IE 11, 10, Chrome 53 desktop browser, android nexus 5 with Chrome browser.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r49310. Tomcat 8, FF 47, MS edge, IE 11, 10, Chrome 53 desktop browser, android nexus 5 with Chrome browser.
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Affects Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: