Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #11
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    The remaining combo box bug has been fixed in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this entire issue, please reply if you notice any continued problems with combo box or with setEnabled after upgrading. Again, thanks for taking the time to report, investigate, and discuss this bug.

  2. #12
    Sencha User
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
    DarekKay is on a distinguished road

      0  

    Default


    It's working as expected in RC, thanks!

    But there is still an issue you may have overseen: key handler are still fired. So for example take a TextField, add a KeyPressHandler and disable it. You can't really type anything (as expected), but the event is still fired. I'm not really sure about that behaviour.

  3. #13
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    I am not sure I understand. If you disable a field you can't focus the input element and therefore no key events are fired.

    Code:
    public void onModuleLoad() {
      VerticalLayoutContainer cp = new VerticalLayoutContainer();
      TextField textField1 = new TextField();
      textField1.setEnabled(false);
      textField1.addKeyPressHandler(new KeyPressHandler() {
        
        @Override
        public void onKeyPress(KeyPressEvent event) {
          System.out.println("key press");
        }
      });
      cp.add(textField1, new VerticalLayoutData(1, -1));
    
    
      ContentPanel con = new ContentPanel();
      con.setSize("300px", "100px");
      con.add(cp);
      RootLayoutPanel.get().add(con);
    }
    What is the use case you are getting key events? Can you provide a test case?