Announcement

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

    Strange look on first load of the app, and on every CTRL+F5 click

    Hi,

    When loading my app for the first time, or clicking on CTRL + F5 (in Firefox) the view is messed up for some reason.
    It is fixed after i press F5 again.

    The problem does not happen in IE9 or Chrome.

    Please tell me if i need to attache the code since it is dependent on our server.

    SmartClient version : v8.3p_2013-01-21/PwerEdition Development Only
    problem happened in FF (current version 18.0.1)
    Attached Files

    #2
    I have a similar problem (and was just about to start a new thread!). Same version of FF (18.0.1) but with v8.2p_2012-12-18/LGPL Development Only (built 2012-12-18)

    Here's a minimum case. The Toolstrip initially displays 48 px high instead of the requested 24. A reload will lead to the correct height.

    Code:
    <!DOCTYPE HTML>
    <html>
    <head>
    <title>Test</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <script type="text/javascript">var isomorphicDir="/isomorphic/8.2/";</script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_core.js?h=F2B37FA1930A2D14C9C062BB07DE205A32A91B4D"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_foundation.js?h=DAF8D8CAA7DEE8D2376B174D855D9A76BBF6C749"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_containers.js?h=812EA1A538AD11F2D0F63301F7A66FD683956173"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_grids.js?h=126A2F5B780AD70A15423881068E43A603382E20"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_forms.js?h=14867C2217A522F955572A834EA7661A5904C2AA"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_databinding.js?h=F92135EC8A1DBEEC109566B7B1CDB65CAC553C2F"></script>
    <script type="text/javascript" src="/isomorphic/8.2/client/modules/isc_richtexteditor.js?h=6044AB792A96EBB1FAA0C3C905AA802484F57215"></script>
    <script type="text/javascript" src="/isomorphic/skins/standard/load_skin.js?h=95AF594045B5EC03FB3958E2BDBFCC4EFE2E870A"></script>
    </head>
    <body>
    <script>
        
      isc.setAutoDraw(false);
    
      var vLayoutMain = isc.VLayout.create({
          width: "100%"
      });
    
      var menuButton = isc.ToolStripMenuButton.create({
          ID: "menuButton",
          title: "File"
      });
    
      var toolStripMenu = isc.ToolStrip.create({
          height: 24,
          width: "100%",
          members: [menuButton]
      });
    
      vLayoutMain.addMembers([toolStripMenu]);
      vLayoutMain.draw();
    
    </script>
    </body>
    </html>
    Dan

    Comment


      #3
      Firefox 18 introduced an issue whereby images would be incorrectly sized on first load (until the media had actually been loaded by the browser), which caused major breakage to our layouts.

      We have made numerous changes to workaround this issue (and the bug has already been resolved by Firefox in betas, so will go away at a browser level with the release of Firefox 19).

      Regardless - Please try the latest nightly build - the problems should go away. If not, let us know (along with a test case) and we'll take a look

      Regards
      Isomorphic Software

      Comment


        #4
        The latest nightly solves this issue. I mean, you can see the images starting in a wrong position but then getting back to the right position, but I guess this will be fixed in FF 19, right?

        Comment


          #5
          It looks good to me now - thanks.

          Dan

          Comment

          Working...
          X