Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Issues on iPad - reproducible on SmartGWT Showcase

    I spent the whole day trying to troubleshoot the problem that my application is having on iPad. Here's the link to that issue:

    http://forums.smartclient.com/showthread.php?t=24648

    After trying everything that I could, I thought of testing a few SmartGWT showcase samples on iPad (using Safari browser, iOS v6.0.1).

    To my surprise, I experienced similar issues on the Showcase itself especially when animations were involved. I tried a few Animation samples and found several different issues within a few minutes. It's a brand new 4th Gen iPad bought last night. Here's a summary of the issues.

    1. After playing around with the animation samples for about 5 minutes, the navigation tree on the left hand side completely freezes i.e. you cannot expand or select any item at all. The scroll bar works, but tapping on the tree or on the +/- (expand/collapse) buttons is "not" recognized at all.

    This is reproducible pretty consistently after about 5 minutes of playing around with samples.

    Moreover, once the tree freezes, all kinds of animation stop working. The fly in/out and slide in/out start to work like simple show/hide.

    2. On the Show and Hide sample, after clicking the Show and Hide buttons in quick succession a few times (about 20-30 times), the Show button starts behaving like Hide and vice versa.

    http://www.smartclient.com/smartgwt/...animation_wipe

    The display messes up quite often. Sometimes the frame is left behind on the display. See couple of screenshots here:

    https://www.dropbox.com/sh/mbzkj7z358a43mi/GkAJhLhtz5

    3. Fly onscreen sample - The first time I tried this after using Show and Hide example, there was no fly effect at all. The animation of flying in and out was completely missing. It would just show or hide the box without any animation whatsoever. When I reloaded the showcase again by refreshing the browser window, the flying in/out animation started working.

    http://www.smartclient.com/smartgwt/...nimation_slide


    My own application is having similar issues. Many widgets (particularly Labels and Radio Buttons) become unresponsive after a while. The slide in/out effects also stop (similar to what I observed on the Showcase). As I mentioned on the other thread, it happens only on the iPad. I have not been able to reproduce the issues on Windows, Mac, iPhone, or Android devices.

    I'll be more than happy to assist with any testing on iPad if the SmartGWT happens to apply any fixes.

    Thanks.
    Last edited by deepfriedbrain; 18 Dec 2012, 04:35.

    #2
    Sounds like probably a JS error - can you enable the Safari error console and tell us if you're getting a JavaScript error?

    Comment


      #3
      I did the testing using 2 different debuggers.

      1. First, I used Firebug with Safari on iPad. With a few seconds, the Show/Hide example broke. The Show button completely disappeared. There was no error in the Firebug console, as can be seen in the screenshot here:

      https://www.dropbox.com/s/q0gzpf8dusouk0q/Photo%2019-12-12%2012%2038%2012%20PM.png

      2. Then I turned on Web Inspector (the new Developer console for Safari in iOS 6), looked it up to Safari on Mac, refreshed the browser window to reload the Showcase. Initially, it showed 2 JS errors, but they didn't seem to affect the functionality. Here's a screenshot of those errors:

      https://www.dropbox.com/s/lwopqypmati9eup/Screen%20Shot%202012-12-19%20at%201.04.44%20PM.png

      I played around with 3-4 samples. When I launched "Tree Folder" sample, expanded a couple nodes and it completely froze after that. All the animations stopped from that point onward. There were no new errors in the console. Here's a screenshot of the tree:

      https://www.dropbox.com/s/exc44n7ilp4kfns/Photo%2019-12-12%201%2002%2042%20PM.png

      Let me know what else I can help with.

      Thanks.

      Comment


        #4
        Those 404 errors in the second screenshot are very strange - they are attempts, seemingly by core GWT code, to fetch nonsense filenames. They suggest some kind of bug in core GWT in iOS.

        Just about the only thing in the Showcase that uses core GWT is History support.

        Are you using GWT History in your app where you get similar issues?

        Can you try completely disabling the History subsystem and see if it fixes the issue?

        Comment


          #5
          Yes, I'm using GWT History in my app as well.

          I removed all references of com.google.gwt.user.client.History and related code, recompiled the application, closed Safari on iPad, cleared Safari History and cache, retested my app on iPad, but the issue is still there.

          Comment


            #6
            Hi,

            Is there any update on this? Does the SmartGWT team acknowledge this as an issue?

            Thank you.

            Comment


              #7
              Hi,

              Is there any chance of this being looked into, now or in future?

              Thanks.

              Comment

              Working...
              X