ICEfaces
  1. ICEfaces
  2. ICE-3063

wait cursor doesn't disappear after client-side action

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IE7, Firefox 2.0
      ICEfaces 1.7.x
      JSF1.2
      Facelets
      Tomcat 6

      Description

      A lot of forum users mentioned that after migrating to 1.7.0 the wait cursor doesn't disappear under certain circumstances when a client-side event has been triggered. sometimes the application doesn't even respond anymore. This is not happening in 1.6.2, so it might be a regression. See attached demo application.

        Activity

        Michael Thiem created issue -
        Hide
        Michael Thiem added a comment -

        deploy on tomcat 6

        Show
        Michael Thiem added a comment - deploy on tomcat 6
        Michael Thiem made changes -
        Field Original Value New Value
        Attachment IcePoc.war [ 10967 ]
        Michael Thiem made changes -
        Michael Thiem made changes -
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Jacky Lee [ jlee ]
        Hide
        Ken Fyten added a comment -

        Using the provided war file, I can reproduce the problem using FF2, IE7, IE6, Opera, Safari.

        • On any of the browsers, go to the menubar and select one of the options ('Edit Person' or 'List Person'). Let the page update, then select the other option in the menubar. After the page updates, the mouse cursor permanently becomes the hour glass. Sometimes you'll need to move the mouse a bit before it changes.
        • (Firefox specific) Load the page and do not do anything. Every few minutes the mouse becomes 'working in background' cursor (pointer + hour glass) for a few seconds, then changes back to a regular pointer.
        • (Safari specific) Go to the menubar and select one of the options, the page will update. Then after a few seconds, it will redirect to a page that says "Javascript is blocked. ICEfaces cannot run." I made sure that "Enable JavaScript" is checked in the preferences. And the data paginator still works.

        These problems are still reproducible when I use the trunk (rev 16637).

        Regards,
        Jacky

        Show
        Ken Fyten added a comment - Using the provided war file, I can reproduce the problem using FF2, IE7, IE6, Opera, Safari. On any of the browsers, go to the menubar and select one of the options ('Edit Person' or 'List Person'). Let the page update, then select the other option in the menubar. After the page updates, the mouse cursor permanently becomes the hour glass. Sometimes you'll need to move the mouse a bit before it changes. (Firefox specific) Load the page and do not do anything. Every few minutes the mouse becomes 'working in background' cursor (pointer + hour glass) for a few seconds, then changes back to a regular pointer. (Safari specific) Go to the menubar and select one of the options, the page will update. Then after a few seconds, it will redirect to a page that says "Javascript is blocked. ICEfaces cannot run." I made sure that "Enable JavaScript" is checked in the preferences. And the data paginator still works. These problems are still reproducible when I use the trunk (rev 16637). Regards, Jacky
        Ken Fyten made changes -
        Component/s Bridge [ 10011 ]
        Component/s Framework [ 10013 ]
        Assignee Priority P2
        Assignee Jacky Lee [ jlee ] Mircea Toma [ mircea.toma ]
        Priority Major [ 3 ] Minor [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16648 Thu May 15 16:51:41 MDT 2008 mircea.toma Send "reload" command when body is updated.
        ICE-3063
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
        Hide
        Mircea Toma added a comment -

        An update for the 'body' element causes the evaluation of the 'script' element that is responsible for instantiating the bridge (feature introduced for ICE-1675). This in turn creates a lot of confusion since there are two bridge instances operating on common objects.
        The straight forward solution is to just send a reload command instead of the update, strategy already in place for the 'html' and 'head' elements.

        Show
        Mircea Toma added a comment - An update for the 'body' element causes the evaluation of the 'script' element that is responsible for instantiating the bridge (feature introduced for ICE-1675 ). This in turn creates a lot of confusion since there are two bridge instances operating on common objects. The straight forward solution is to just send a reload command instead of the update, strategy already in place for the 'html' and 'head' elements.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16658 Fri May 16 18:12:39 MDT 2008 mircea.toma Implement better fix. Instead sending 'reload' command when 'body' element is updated, shutdown previously associated bridge instance. Strip 'noscript' element from the update to avoid its execution in Safari.
        ICE-3063
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/element.js
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16659 Fri May 16 18:14:30 MDT 2008 mircea.toma Implement better fix. Instead sending 'reload' command when 'body' element is updated, shutdown previously associated bridge instance. Strip 'noscript' element from the update to avoid its execution in Safari.
        ICE-3063
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/PushModeSerializer.java
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/element.js
        Hide
        Mircea Toma added a comment -

        Implement better fix. Instead of sending 'reload' command when 'body' element is updated, shutdown previously associated bridge instance. Strip 'noscript' element from the update to avoid its execution in Safari.

        Show
        Mircea Toma added a comment - Implement better fix. Instead of sending 'reload' command when 'body' element is updated, shutdown previously associated bridge instance. Strip 'noscript' element from the update to avoid its execution in Safari.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16662 Tue May 20 18:01:54 MDT 2008 mircea.toma Turn off all indicators on bridge shutdown. ICE-3063
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16663 Tue May 20 18:02:56 MDT 2008 mircea.toma Turn off all indicators on bridge shutdown. ICE-3063
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
        Hide
        Mircea Toma added a comment -

        Turn off all indicators on bridge shutdown.

        Show
        Mircea Toma added a comment - Turn off all indicators on bridge shutdown.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Mircea Toma [ mircea.toma ]
        Hide
        Mariana Popoviciu added a comment -

        It seems that this problem appears again in 1.8.2 in IE8, IE9 and Firefox5 (could be in other versions also).

        Show
        Mariana Popoviciu added a comment - It seems that this problem appears again in 1.8.2 in IE8, IE9 and Firefox5 (could be in other versions also).

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Thiem
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: