Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    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. #1
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    1
    mrjoe is on a distinguished road

      1  

    Default ComboBoxCell exception on IE8

    ComboBoxCell exception on IE8


    Hello

    I added ComboBox component to the PagingToolBar component to enable user to change number of displayed items in the table. Everytime user changes table row count, he gets following error in IE8 / IE7.

    Code:
     number: -2146826178 description:
    Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    I found the problem in ComboxBoxCell.java
    Code:
    protected void onViewClick(final XElement parent, NativeEvent event, boolean focus, boolean takeSelected) {    
    
        // .... removed some lines for better readability ....
    
        if (focus) {
          Scheduler.get().scheduleDeferred(new ScheduledCommand() {
    
    
            @Override
            public void execute() {
              if (GXTLogConfiguration.loggingIsEnabled()) {
                logger.finest("onViewClick parent.focus()");
              }
    
              getInputElement(parent).focus(); // <----- THIS WILL CRASH !!!
            }
          });
        }
    
    
      }
    I only crashes in IE that cannot handle focusing of the disabled items correctly. This bug does not show in Opera, Firefox or Chrome (Chromium). But because the toolbar is disabled while waiting for loader to finish loading data, focusing of the combox will throw exception.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Thanks for the bug report - we see this crop up in many ways, but unfortunately our attempts to rework this at a low level have been stymied by the fact that Element.focus must be final, so we can't add an extra isIE and isVisible check there.

    Can you give a little more detail on your use case? The ComboBox has been added to the PagingToolbar, but is invisible/disabled/detached? How is it the user can see it then, or can interact with it?

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    1
    mrjoe is on a distinguished road

      0  

    Default


    ComboBox is visible and enabled. I do not disable it from my code. It is only disabled by the parent toolbar while waiting for loader to finish loading data.
    Attached Images

  4. #4
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Location
    London
    Posts
    24
    Vote Rating
    2
    kpiskunov is on a distinguished road

      1  

    Default


    I'm seeing the same exception in IE 7 when navigating around the editable tree grid:
    http://www.sencha.com/examples/#Exam...itabletreegrid

    It happens when I click on Author/Genre fields repeatedly. In our code we use a TreeGrid with a ComboBox and the exception pops-up as well.

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    We've just made a few changes that should deal with this and related IE focus issues. Can you still reproduce the issue on our nightly build at http://staging.sencha.com:8080/examples-dev/ ?

  6. #6
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    1
    mrjoe is on a distinguished road

      0  

    Default


    Thank you for your effort! I will test it in my project and will report back. Is it sufficient to update GXT to SVN revision 2582?

  7. #7
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Location
    London
    Posts
    24
    Vote Rating
    2
    kpiskunov is on a distinguished road

      1  

    Default


    I'm not encountering the issue in the nightly build.

  8. #8
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Great - I'm marking this issue as FIXED, please feel free to post again if you encounter this again.