Announcement

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

    #16
    A quick update:

    I built a new project and confirmed that the issue still exists on Chrome 8x.

    Thanks.

    Comment


      #17
      To remove all doubt of staleness, use Chrome's Developer Tools and look at the date stamp embedded in the ISC_Core.js file at the top.

      Comment


        #18
        Hello Isomorphic,

        I followed your suggestion and confirmed that the date stamp on ISC_Core.js is indeed 12/17. Same was the case with other js files.

        Code:
        /*
         * Isomorphic SmartClient
         * Version SC_SNAPSHOT-2010-12-17 (2010-12-17)
         * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
         * "SmartClient" is a trademark of Isomorphic Software, Inc.
         *
         * licensing@smartclient.com
         *
         * http://smartclient.com/license
         */
        Thanks.

        Comment


          #19
          Can you clarify:

          1. what's the exact version of Chrome you're using, and is it a production release of the browser?

          2. what's the exact doctype you're using when you see the problem (or if it's in the absence of the doctype, just say that).

          Comment


            #20
            Another update:

            Just now I noticed a weird behavior with scrollbars on Chrome. My browser window was in maximized state when I launched my app. At that point, I could see the (unnecessary) horizontal scrollbar. Then I reduced (restored down) the window size and the horizontal scrollbar disappeared. Then again I maximized the window and the horizontal scrollbar did NOT come back again.

            So, I guess whatever change you have done is working to some extent but not completely.

            Hope this information helps in some way.

            The exact version of Chrome browser is 8.0.552.224. It should be the production release. I guess you are asking whether I'm on the dev or beta channel, and the answer is "no". This is a brand new machine and I haven't switched the channel yet after installing Chrome.

            Currently there is no doctype setting.

            Thanks.

            Comment


              #21
              I launched the application when the window was NOT maximized, but wide enough to accommodate the contents, I still got the horizontal scrollbar. But as soon as I resize (increase or decrease) the window, the horizontal scrollbar disappears.

              Comment


                #22
                Hello Isomorphic,

                Were you able to replicate this issue on Chrome? Do you need any other information from my side?

                The (unnecessary) horizontal scrollbar appears only on the initial load of the application. Once the window is resized, the horizontal scrollbar disappears.

                Thanks for your help.

                Comment


                  #23
                  Hi DFB,
                  We have found this issue is intermittent.
                  For us the following steps seem required to reproduce it:
                  - clearing browser cache
                  - load the page
                  - reload the page

                  Given these steps we've managed to come up with a fix which has been introduced to our mainline codebase and will be present in the next nightly build.

                  The fact that you're reproducing this so readily when for us it is very much intermittent may possibly indicate something else is going on here so please try the next nightly build (It'll be available Dec 22 am) and let us know if you do continue to see this issue.

                  Thanks
                  Isomorphic Software

                  Comment


                    #24
                    Hello Isomorphic,

                    I tested with the 12/23 nightly build and it's rocking now. Tested on Chrome, FF and IE, and everything looks good now.

                    I really appreciate your help and prompt action in resolving this issue.

                    Thanks a lot.

                    Comment


                      #25
                      Hello again Isomorphic,

                      Unfortunately, the issue has moved from Chrome to Firefox now. I'm seeing the unnecessary horizontal scrollbar in Firefox when the app first loads. The scrollbar disappears as soon as the window is resized in any manner. Chrome seems to be working fine now.

                      The problem is intermittent this time. I don't see it every time, but it's there more often than not.

                      My FF version is 3.6.13, and I'm on 12/23 nightly build.

                      Thanks.

                      Comment


                        #26
                        We were unable to reproduce this behavior in house but have applied a workaround that should ensure it doesn't happen in any browser.

                        The next nightly build will include this change - we'd recommend you try your test case with that build. We're confident that the problem should no longer be reproducible!
                        Last edited by Isomorphic; 4 Jan 2011, 14:40.

                        Comment


                          #27
                          Hello Isomorphic,

                          I downloaded the latest nightly (1/6) and am testing the application now. So far it looks good. I do see the (unnecessary) horizontal scrollbar while the application is loading, but it disappears as soon as the app is loaded completely. It's the same in Chrome and FF.

                          Let me test it thoroughly for another week or so. I'll come back and post the updates.

                          Thanks a lot for following up so closely on this issue.

                          Have a great 2011!

                          Comment


                            #28
                            Hello Isomorphic,

                            One week has gone by and I'm back with the updates. Unfortunately, the news isn't good. I still see the horizontal scrollbar intermittently. It happens on both Firefox and Chrome (the same versions that I mentioned before). I cannot find a pattern to reproduce the problem consistently though. Sometimes, on the initial load the scrollbar momentarily appears and then disappears when the page finished loading. But it comes back when the page is refreshed (using Browser refresh). Also, any resize of the window immediately removes the horizontal scrollbar.

                            I tested it on 3 different machines - Mac OS X 10.6.6, Windows XP Home SP3, Windows XP Pro SP3. I'm using SmartGWT LGPL 2.4 1/6/2011 nightly. I verified the correct date stamp on ISC_Core.js using Developer Tools in Chrome (the approach you suggested earlier).

                            Please let me know if you need any additional info from me or want me to test something.

                            Thanks for your help.

                            Comment


                              #29
                              Hi Guys,
                              We're not able to reproduce this in house at all. We also haven't been hearing any other reports of this issue.

                              This makes it seem like there must be something special about your setup which is causing the behavior.

                              Firstly on the project side: In previous posts you've taken us through your setup and it sounds pretty standard. We may be rehashing old ground here but can you do a sanity check test of
                              - creating a new project
                              - adding the SmartGWT jars to it
                              - modifying the .gwt.xml file to include SmartGWT
                              - modifying the bootstrap file to remove the default HTML
                              - modifying the entry point class to display your code

                              And verify that you're still seeing the problem.
                              If so, could you post the .gwt.xml file, the bootstrap file and the entry point class file so we can exactly duplicate your project on our end and retest.
                              Be sure to lay out exactly the steps to reproduce the problem!

                              Also - in this case does the problem occur in both compiled mode and dev mode, or just in dev mode?
                              Does it make a difference if you're hitting the app locally (So the browser is running on the same machine as Eclipse / Jetty) vs across a network?
                              Do you see any warnings on the server?

                              Secondly, on the browser side: You're seeing this on multiple machines / browsers. Are there any settings shared by these setups we should be aware of? For example locale settings? Screen resolution?

                              Beyond that, some debugging you could try with the developer console:
                              - When in the bad state, what is the reported width and height of the page (evaluate "isc.Page.getWidth()" and "isc.Page.getHeight()")
                              - If you go to the Watch tab you should see a tree of the visible set of components. Right click on the header and show the "specified size" and "drawn size" columns. What is the specified / drawn size of the outermost layout?
                              - If you evaluate "isc.Browser.isStrict" what do you see?
                              - Once you're in the bad state - if you evaluate "isc.EH.$hr()" does the problem fix itself?

                              Thanks
                              Isomorphic Software

                              Comment


                                #30
                                This issue of unwanted/needed scroll bars was driving me batty before too. I found two things that fixed it:

                                * Using V/HLayout instead of V/HStack
                                * Removing any other .css import - yes it might live nicely together with SmartGWT, but it can also freak out.

                                Comment

                                Working...
                                X