Announcement

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

    ComboBox with IE8, IE9 - URGENT - PAYed

    Please try following code with latest night builds (not on your demo page) in this sample:
    http://www.smartclient.com/#comboBoxStyled
    Code:
    isc.DynamicForm.create({
        ID:"testForm",
        width: 500,
       
        fields : [
        {
            name: "itemName", title: "Item Name", editorType: "comboBox", 
            addUnknownValues:false, 
            optionDataSource: "supplyItem", 
            width: 250,
            pickListCellHeight: 50
        }]
    });
    It's related I guess to following problem:
    http://forums.smartclient.com/showthread.php?t=18272&highlight=combobox

    We have different behaviours with IE8, IE9 (other browser works OK with newer releases).
    - Newer releases doesn't open DropDown when you go into field and start typing on keyboard (IE8, IE9)
    - Older releases open but when you select something with mouse from drop down, drop down is reopened (bug solved in thread 18272). Now also visible on your demo page.

    Can you reproduce problem? It's very urgent problem for users and we are willing to pay for fixing this.

    Thanks

    Pavel

    #2
    No we're not seeing an issue like you describe..

    Latest what release (2.5.x or 3.x)? What specific date? Please always include this information.

    Comment


      #3
      Maybe it's not visible in smartclient but when you do following with latest SmartGWT night build.
      Code:
      public void onModuleLoad() {
      	eval("$wnd.isc.RestDataSource.create({ID:\"basic\", dataFormat:\"json\", dataURL:\"/service\", titleField:\"kod\", clientOnly:false, fields:$wnd.Array.create([{ name: \"itemName\", title: \"Item Name\", editorType: \"comboBox\", addUnknownValues:false, optionDataSource: \"danSubjektPrehladService\", width: 250, pickListCellHeight: 50 }])});");
      	DataSource basicDS=DataSource.get("basic");
      	DynamicForm df=new DynamicForm();
      	df.setDataSource(basicDS);
      	df.setWidth100();
      	df.setHeight100();
      	df.show();
      }
      
      public static native JavaScriptObject eval(String str) /*-{
      	return eval(str);
      }-*/;
      In IE8 after typing inside combo NO drop down is open and when you open it with ALT+DOWNARROW not filtered according typed string. When you change addUnknownValues: true, it start working OK however we need 'false'.
      Sorry for misleading you little bit about smartclient.
      Last edited by pavel.tavoda@f4s.sk; 21 Sep 2011, 04:44.

      Comment


        #4
        We can't run this - it's referring to some other optionDataSource that isn't defined.

        Comment


          #5
          Please take following sample from showcase:
          http://www.smartclient.com/smartgwt/showcase/#local_db_combobox_combobox_category

          and add:
          itemName.setAddUnknownValues(false);

          behind this line:
          ComboBoxItem itemName = new ComboBoxItem("itemName");

          Is ComboBox open after typing inside ComboBox (IE8)?

          Comment


            #6
            Once again:

            Code:
            Latest what release (2.5.x or 3.x)? What specific date? Please always include this information.
            Also, are you using SmartClient, SmartGWT or some custom mix?

            Comment


              #7
              We are using some native methods but generally SmartGWT 2.5 night build 2011-09-20.
              Sorry didn't notice that you already have 3.0.

              Comment


                #8
                Try running *just* that Showcase example outside of your current project, in a standard SDK. Whatever you're doing with "native methods" (presumably you mean direct JSNI calls) is most likely causing the issue you're seeing.

                Comment


                  #9
                  Hello,
                  I tried out in our project with GWT 2.1.1, 2.3, 2.4. It's still not working. Here you can download full project with compiled code and launcher. Is it working with IE8/IE9 at your side?

                  I'm working on Linux Debian, Eclipse Helios with latest GWT updates.

                  Download at:
                  http://www.sendspace.com/file/qhoifv

                  Pavel

                  Comment


                    #10
                    This suggests corrupted files or a similar problem. Try a fresh install on a new machine, and let us know if you have steps to create a problem starting from a standard installation - steps that would suggest a problem with SmartGWT.

                    Comment


                      #11
                      Same issue when build with Maven on different machines, do you see issue with my project? Can you recompile without issue I mentioned up? If you find something corrupted in files please recompile. Code have 30 lines.
                      When you set 'addUknownValue(true)' everything works as expected. However we need 'false'.

                      Comment


                        #12
                        Dropping your code into the SDK doesn't reproduce a problem, when this is the case we don't generally go and try to troubleshoot a specific Eclipse config (because we're looking specifically for framework bugs).

                        You mentioned Maven. Have you tried downloading a nightly build (smartclient.com/builds) or release build and testing with that? That would eliminate your Maven setup as a problem.

                        Comment


                          #13
                          Same issue when build with maven, compiled inside eclipse, on windows, on linux build machine, everywhere.
                          Do you see problem when you run my code without recompilation? And no after recompilation? Can you send me your compilation?
                          Last edited by paveltavoda; 23 Sep 2011, 12:54.

                          Comment


                            #14
                            We've managed to reproduce this now, and have found and fixed the problem. Thanks for your help pinning it down. The issue should be fixed in the next nightly build (dated September 27 or greater). Please let us know if you continue to see it.

                            Regards
                            Isomorphic Software

                            Comment


                              #15
                              Issue disappear in 27 Sep night build. Thank you very much.

                              Comment

                              Working...
                              X