Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
    jchaffraix is on a distinguished road

      0  

    Default Change in fixed table layout leads to unneeded scrollbar on array-grid

    Change in fixed table layout leads to unneeded scrollbar on array-grid


    WebKit recently changed its fixed table layout algorithm to consider the cell's content-box instead of the border-box as was the case in the past. See https://bugs.webkit.org/show_bug.cgi?id=78412 and to some extend http://crbug.com/124816 (it has some reference to this bug too)

    If you open http://dev.sencha.com/deploy/ext-2.3...rray-grid.html in any version of Chromium above 19 (that includes the WebKit change), you will see an unneeded horizontal scrollbars.

    The work-around is simple: you need to set box-sizing: border-box on your cells' style to keep the existing behavior. The following change solves the issue for me (but don't think this is a definite answer):

    .x-grid3-cell {
    [...]
    box-sizing: border-box}

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,916
    Vote Rating
    443
    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


    Example for: ext-2.3.0

    Can you verify the version of ExtJS you are using?

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
    jchaffraix is on a distinguished road

      0  

    Default


    > Can you verify the version of ExtJS you are using?

    Note that I don't use ExtJS, I am merely reporting the issue as we keep getting them reported against Chromium and I wanted to make sure you were aware of the issue.

    The people reported bugs against ExtJS 2.3.0 (
    http://dev.sencha.com/deploy/ext-2.3...rray-grid.html) and ExtJS 3.4.0 (http://dev.sencha.com/deploy/ext-3.4...ow-editor.html).

    AFAICT the first link doesn't reproduce on the latest ExtJS (4.1) and I couldn't find the second link's example against ExtJS 4.1.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,916
    Vote Rating
    443
    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


    Thank you for the report .. I will have to double check, but I believe this is a active bug for 3.4 in regards to Chrome issue.

    Scott.

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Posts
    3
    Vote Rating
    0
    technospino is on a distinguished road

      0  

    Default override solution

    override solution


    This is a work around i have been using

    Code:
    //Issues with Grid rendering in new version of ChromeExt.grid.ColumnModel.override({
        getTotalWidth:function (includeHidden) {
            var off = 0;
            if (!Ext.isDefined(Ext.isChrome)) {
                Ext.isChrome = /\bchrome\/\b/.test(navigator.userAgent.toLowerCase());
            }
            ;
            if (Ext.isChrome) {
                off = 2;
            }
            ;
            if (!this.totalWidth) {
                this.totalWidth = 0;
                for (var i = 0, len = this.config.length; i < len; i++) {
                    if (includeHidden || !this.isHidden(i)) {
                        this.totalWidth += this.getColumnWidth(i) + off;
                    }
                    ;
                }
                ;
            }
            ;
            return this.totalWidth;
        }
    });

  6. #6
    Ext JS Premium Member
    Join Date
    Apr 2008
    Posts
    358
    Vote Rating
    15
    rich02818 is on a distinguished road

      0  

    Default


    @technospino is your override for v3.4 or ?

  7. #7
    Sencha User
    Join Date
    Aug 2012
    Posts
    3
    Vote Rating
    0
    technospino is on a distinguished road

      0  

    Default


    It is for 3.4

  8. #8
    Sencha User
    Join Date
    Jan 2010
    Location
    Brno, Czech Republic
    Posts
    35
    Vote Rating
    1
    honzakuchar is on a distinguished road

      0  

    Default


    The fix above doesn't fix it at all. Try it on this example: http://dev.sencha.com/deploy/ext-3.4...aderGroup.html.

    But this one works perfectly (on Chrome 21) (tested on ExtJS 3.3.1)

    Code:
    @media screen and (-webkit-min-device-pixel-ratio:0) { 	.x-grid3-cell, /* normal grid cell */
    	.x-grid3-gcell /* grouped grid cell (esp. in head)*/
    	{
    		box-sizing: border-box;
    	}
    }
    Before applying fix:
    grid-chrome-21.jpg

  9. #9
    Ext JS Premium Member
    Join Date
    Apr 2008
    Posts
    358
    Vote Rating
    15
    rich02818 is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    Thank you for the report .. I will have to double check, but I believe this is a active bug for 3.4 in regards to Chrome issue.

    Scott.
    What is the bug number? What build is it targeted for?

  10. #10
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,916
    Vote Rating
    443
    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


    Have you checked this using 3.4.1 and the latest version of Chrome?

    Scott.

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