You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #41
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,642
    Vote Rating
    401
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Per our notes, Chrome-dev mentioned they applied a fix on/around June 4th on their end.

    If this is still an issue, please report back.

    Scott.

  2. #42

  3. #43

  4. #44
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,642
    Vote Rating
    401
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    OK, thanks.. updating report.

    Scott.

  5. #45
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    jerry1.smith is on a distinguished road

      0  

    Default


    Did anyone find a solution or workaround for this?

  6. #46
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    4
    Vote Rating
    1
    ldoogs is on a distinguished road

      1  

    Default Workaround

    Workaround


    Code:
    if(!Ext.isDefined(Ext.chromeVersion)){
        Ext.chromeVersion = Ext.isChrome ? parseInt((/chrome\/(\d{1,2})/).exec(navigator.userAgent.toLowerCase())[1],10) : NaN;
    }
    /*
    * Box-sizing was changed beginning with Chrome v19.  For background information, see:
    * http://code.google.com/p/chromium/issues/detail?id=124816
    * https://bugs.webkit.org/show_bug.cgi?id=78412
    * https://bugs.webkit.org/show_bug.cgi?id=87536
    * http://www.sencha.com/forum/showthread.php?198124-Grids-are-rendered-differently-in-upcoming-versions-of-Google-Chrome&p=824367
    *
    * */
    if(Ext.isChrome && Ext.chromeVersion > 18 && Ext.chromeVersion < 22) {
        Ext.override(Ext.grid.ColumnModel, {
            getTotalWidth: function (includeHidden) {
                if (!this.totalWidth) {
                    var boxsizeadj = 2;
                    this.totalWidth = 0;
                    for (var i = 0, len = this.config.length; i < len; i++) {
                        if (includeHidden || !this.isHidden(i)) {
                            this.totalWidth += (this.getColumnWidth(i) + boxsizeadj);
                        }
                    }
                }
                return this.totalWidth;
            }
        });
    
        Ext.onReady(function(){
            Ext.get(document.body).addClass('ext-chrome-fixes');
            Ext.util.CSS.createStyleSheet('@media screen and (-webkit-min-device-pixel-ratio:0) {.x-grid3-cell{box-sizing: border-box !important;}}', 'chrome-fixes-box-sizing');
        });
    }
    It's not great, but it's filling the gap for us currently.

  7. #47
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    7
    Vote Rating
    0
    johnjaylward is on a distinguished road

      0  

    Default


    Is there a reason you only apply the workaround on chomeVersion < 22 ?
    You may as well leave only the lower bound of 18 unless you know it's fixed going forward.

  8. #48
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    jerry1.smith is on a distinguished road

      0  

    Default


    I poked around in some of the links in the workaround ldoogs posted (thanks for that BTW it works great!) and it looks like the Chrome team has washed theirs hands of this:

    http://code.google.com/p/chromium/is...tail?id=124816

    Last comment says they filed a bug w/ Sencha:

    http://www.sencha.com/forum/showthre...-grid&p=853339

    I'm stuck on an older version of 3.x. I will probably be using this workaround for a while so I took out the < 22 check.
    Last edited by jerry1.smith; 12 Sep 2012 at 1:07 PM. Reason: formatting

  9. #49
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    4
    Vote Rating
    1
    ldoogs is on a distinguished road

      0  

    Default


    We will most likely remove the < 22 check as well -- at the time the fix was written, it seemed as though this only needed to be a temporary holdover. We too, will probably be stuck on 3.x for quite some time.

  10. #50
    Sencha User
    Join Date
    Jun 2009
    Location
    Burlington, Ontario
    Posts
    172
    Vote Rating
    1
    Bleak is on a distinguished road

      0  

    Default


    Great, thanks! This helps me tremendously.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar