Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    14
    Vote Rating
    0
    inovelan is on a distinguished road

      0  

    Default [FNR] [Combobox] Triple clic

    [FNR] [Combobox] Triple clic


    Hello,
    To expand the "cb" combobox I need to clic three times on the trigger button.
    Am I doing something wrong ?
    Thanks

    Code:
    public class TestWindow extends Window
      {     
        public TestWindow()
        {
          super();
          setSize(800, 600);
          setLayout(new FormLayout());
          
          ListStore<BaseModel> store = new ListStore<BaseModel>();
          BaseModel bm1 = new BaseModel();
          bm1.set("value", "bm 1");
          store.add(bm1);
          BaseModel bm2 = new BaseModel();
          bm2.set("value", "bm 2");
          store.add(bm2);
              
          ComboBox<BaseModel> cb = new ComboBox<BaseModel>();
          cb.setFieldLabel("ComboBox"); 
          cb.setDisplayField("value");
          cb.setStore(store);
          add(cb, new FormData());
          show();
        }
      }
      
      public void onModuleLoad()
      {
        Window w = new Window();
        Button btnTestWindow = new Button("TestWindow");
        btnTestWindow.addSelectionListener(new SelectionListener<ButtonEvent>()
        {
          public void componentSelected(ButtonEvent ce)
          {
            new TestWindow();
          }
        });
        w.add(btnTestWindow);
        w.show();
      }
    GWT : 1.7
    Gxt : 2.0.1
    Firefox (3.0, 3.5) and Internet Explorer

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This was already reported before and will be fixed with 2.0.2. Please use the forum search before posting bugs. It is also already fixed in SVN.

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    14
    Vote Rating
    0
    inovelan is on a distinguished road

      0  

    Default


    I can't find any similar problem reported in GWT community forum 2.x and Premium.

    We tried the same code with GXT rebuild from SVN and the problem is still there. We did try it with GWT 1.7 and also GWT 2.0

    What are we doing wrong ?

    Thx

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Were do you build GXT 2 from? From thetrunk? That is 2.1 and not yet fully merged.

    2.0 is under releases/2.0

  5. #5
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    14
    Vote Rating
    0
    inovelan is on a distinguished road

      0  

    Default


    We were indeed building from trunk.

    We built a new GXT library using releases 2.0 and the issue is still there using the sample code we posted.

    GXT 2.0 built from svn releases/2.0
    GWT 1.7
    Firefox 3.5

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I am unable to reproduce that with the latest svn version.

  7. #7
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    14
    Vote Rating
    0
    inovelan is on a distinguished road

      0  

    Default


    The problem only occurs if you don't move the window. It seems as if the content of the combobox was behind the window and 3 click are needed to make it appear correctly. If you move the window before clicking then the combobox list will showup without any problem. As soon as the combobox list showup properly you won't have the problem anymore until you close the window and open it again by clicking the button

    We check it twice to make sure we have the right version compiled and we have it for sure.

    Here is the sample code updated (SelectionListener on the button is now replaced by ClickHandler with the new svn built GXT).

    We have no clue about what to do if you can't reproduce the problem and we are open to any suggestions you could have.

    Thx again for your reactivity.


    Code:
    package test.gxt20.client;
    
    import com.extjs.gxt.ui.client.data.BaseModel;
    import com.extjs.gxt.ui.client.store.ListStore;
    import com.extjs.gxt.ui.client.widget.Window;
    import com.extjs.gxt.ui.client.widget.form.ComboBox;
    import com.extjs.gxt.ui.client.widget.layout.FormData;
    import com.extjs.gxt.ui.client.widget.layout.FormLayout;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.event.dom.client.ClickEvent;
    import com.google.gwt.event.dom.client.ClickHandler;
    import com.google.gwt.user.client.ui.Button;
    
    /**
     * Entry point classes define <code>onModuleLoad()</code>.
     */
    public class Test implements EntryPoint
    {
      public class TestWindow extends Window
      {
        public TestWindow()
        {
          super();
          setSize(800, 600);
          setLayout(new FormLayout());
    
          ListStore<BaseModel> store = new ListStore<BaseModel>();
          BaseModel bm1 = new BaseModel();
          bm1.set("value", "bm 1");
          store.add(bm1);
          BaseModel bm2 = new BaseModel();
          bm2.set("value", "bm 2");
          store.add(bm2);
    
          ComboBox<BaseModel> cb = new ComboBox<BaseModel>();
          cb.setFieldLabel("ComboBox");
          cb.setDisplayField("value");
          cb.setStore(store);
          add(cb, new FormData());
          show();
        }
      }
    
    
      public void onModuleLoad()
      {
        Window w = new Window();
        Button btnTestWindow = new Button("TestWindow");
        btnTestWindow.addClickHandler(new ClickHandler()
        {
          public void onClick(ClickEvent arg0)
          {
            new TestWindow();
          }
        });
        w.add(btnTestWindow);
        w.show();
      }
    }

  8. #8
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I digged into it a big deeper and found the problem for this. I will report back as soon as this is fixed in SVN.

  9. #9
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN.

  10. #10
    Ext User
    Join Date
    Dec 2009
    Posts
    3
    Vote Rating
    0
    mimomanas is on a distinguished road

      0  

    Default


    I'm still getting this bug on IE, when I'm using LayoutContainer instead of Viewport.

    Edit: Looks like the problem occurs, when scrolling for the whole window is enabled. Since I'm getting this bug only, when I use LayoutContainer or when I enable scrolling for the Viewport.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi