Announcement

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

    SmartGWT 2.5 & IE9 issue

    I have a smartgwt app which is using "SectionStack" component, with few clickable/expandable SectionStackSection. It is working fine on IE8, but the SectionStackSection are no more clickable/expandable on IE9 (non-compatability mode).

    Based on the release notes published for smartgwt 2.5, i have started using
    it for IE9 support. But it looks like it is still not working on IE9.

    #2
    We're not aware of any problems with SectionStacks in IE9 on SmartGwt 2.5
    Can you post a simple standalone test case - so an EntryPoint class and the html file used to load it - that we can run to reproduce the issue?

    Comment


      #3
      The issue still exists, i have verified with more than one sub-versions of IE9 in both hosted mode and production mode.
      This can be reproduced with following example (including EntryPoint Class and the HTML File).

      I am using following environment;
      GWT: 2.3.0
      Smart GWT : 2.5
      Java: jdk1.6.0_25


      1. EntryPoint Class:

      public class MyTest implements EntryPoint {

      public void onModuleLoad() {
      Canvas c1 = new Canvas();
      c1.setContents("Canavs 1");
      c1.setBackgroundColor("orange");

      Canvas c2 = new Canvas();
      c2.setContents("Canvas 2");
      c2.setBackgroundColor("limegreen");

      SectionStackSection c1Section = new SectionStackSection("Canvas 1");
      c1Section.addItem(c1);

      SectionStackSection c2Section = new SectionStackSection("Canvas 2");
      c2Section.addItem(c2);

      SectionStack stack = new SectionStack();
      stack.setWidth(300);
      stack.setHeight(300);
      stack.setSections(c1Section, c2Section);
      stack.setVisibilityMode(VisibilityMode.MULTIPLE);
      stack.draw();

      }
      }


      2. HTML file:

      <!doctype html>
      <!-- The DOCTYPE declaration above will set the -->
      <!-- browser's rendering engine into -->
      <!-- "Standards Mode". Replacing this declaration -->
      <!-- with a "Quirks Mode" doctype may lead to some -->
      <!-- differences in layout. -->

      <html>
      <head>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta name="author" content="Mathew">
      <meta name="description" content="test" />
      <meta name="keywords" content="" />
      <link rel='SHORTCUT ICON' href='images/favicon.ico' type='image/x-icon'>

      <!-- -->
      <!-- Any title is fine -->
      <!-- -->
      <title>Test</title>

      <!-- -->
      <!-- This script loads your compiled module. -->
      <!-- If you add any GWT meta tags, they must -->
      <!-- be added before this line. -->
      <!-- -->
      <script type="text/javascript" language="javascript"
      src="MyTest/MyTest.nocache.js"></script>
      </head>

      <!-- -->
      <!-- The body can have arbitrary html, or -->
      <!-- you can leave the body empty if you want -->
      <!-- to create a completely dynamic UI. -->
      <!-- -->
      <body style="margin: 0px; overflow: auto;">

      <!-- OPTIONAL: include this if you want history support -->
      <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
      style="position:absolute;width:0;height:0;border:0"></iframe>

      <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
      <noscript>
      <div style="width: 22em; position: absolute; left: 50%;
      margin-left: -11em; color: red; background-color: white;
      border: 1px solid red; padding: 4px; font-family: sans-serif">
      Your web browser must have JavaScript enabled
      in order for this application to display correctly.
      </div>
      </noscript>

      <!-- ROOT Panel for the Smart GWT App -->
      <div id="mainPanel"></div>
      </body>
      </html>
      Last edited by mathew; 25 Oct 2011, 12:58.

      Comment


        #4
        Not sure how to respond to this - we ran exactly your test (same HTML file content, same entry point class, same JDK and same version of GWT) against the SmartGWT 2.5 release and could not reproduce any problems against IE9.

        Can you clarify exactly what the bad behavior is that you're seeing in case we're not checking for the right thing. Also - try clearing browser cache, and pop open the developer console and note the reported version you're testing against (visible at the bottom left of the dev console window).

        Comment


          #5
          I am hoping you are using IE9 which is not in the Compatibility View mode. Because for me it works fine when i use the Compatibility View. But our idea is not to go with Compatibility View option.


          Once again the issue i am facing is the section stacks are not clickable/expandable in IE9. I have seen this issue with SmartGWT 2.4 and Smart GWT 2.5, Right now i am doing my testing with SmartGWT 2.5.


          SmartClient Version from Developer Console: SC_SNAPSHOT-2010-12-19/LGPL Development Only (built 2010-12-19)


          Here is the log message i got from SmartClient Developer Console when i Click any SectionStackSection.

          12:00:43.251:MDN9:DEBUG:EventHandler:mouseDown event on null handled natively
          12:00:43.314:MUP2:DEBUG:EventHandler:mouseUp event on null handled natively
          12:00:43.324:MUP2:DEBUG:EventHandler:click event on null handled natively
          12:00:45.250:MDN2:DEBUG:EventHandler:mouseDown event on null handled natively
          12:00:45.338:MUP3:DEBUG:EventHandler:mouseUp event on null handled natively
          12:00:45.346:MUP3:DEBUG:EventHandler:click event on null handled natively

          Comment


            #6
            Sorry for the delay...

            I tried to add more controls to the page like buttons, links etc and found that non of the controlls are responding to user events. So this is not just an issue with the "SectionStack" alone, probably something to do with layout ?

            Anyway this issues is reproducible on any IE9 systems here. I already got a ticket to fix this :).

            Comment


              #7
              This remains totally unreproducible for us. We suspect there is some kind of plugin or customization that may have been applied to IE9 site-wide which, based on the logs, would break most Ajax web applications (not just our framework). If you have any doubts about this, please find a clean machine somewhere and try the Showcase and SDK in IE9 so that you can see it working normally.

              Comment


                #8
                Steps to reproduce

                Hey there, I've got steps to reproduce this issue if you'd like them? If not then no worries.

                Comment


                  #9
                  If it actually affects a recent version (not 2.5), and you're using HTML5 DOCTYPE already (see FAQ), then yes, it could be a valid bug and we'd want to fix it.

                  Comment


                    #10
                    I'm running 4.0p.

                    What FAQ are your referring to?

                    Comment


                      #11
                      I think it's this one.

                      Best regards,
                      Blama

                      Comment

                      Working...
                      X