Hybrid View

  1. #1
    Ext User
    Join Date
    Mar 2008
    Posts
    57
    Vote Rating
    0
    aleczapka is on a distinguished road

      0  

    Default [2.3.0] Chrome hangs - EditorGrid,JsonStore, ComboBox

    [2.3.0] Chrome hangs - EditorGrid,JsonStore, ComboBox


    Hi all,

    Chrome: v2.0.172.43
    ExtJS: v2.3.0

    I've been struggling for a few days with a bug in Chrome. At first I thought it was my error, but I've got an idea today and I was able to reproduce it in the edit grid example.

    I think it might be a bug in Chrome, but I think it's better if somebody more educated decides that.

    Basically, the bug comes down to editable grid, combo with jsonstore and doubleclicking / clicking on the 'no more rows area' (imagine you have a grid with only 2 items inside, the 'no more rows area' is below the 2nd row, no more data/rows after that). It's the yellow area on the picture.

    I've created an example based on edit-grid example.
    There are also picture with what to do, to reproduce the bug.

    Also, are my combobox options ok... maybe there's somewhere a problem?


    This + shortening plants.xml is the only thing I've changed
    Code:
        
            var cm = new Ext.grid.ColumnModel([{
            id: 'common',
            header: "Common Name",
            dataIndex: 'common',
            width: 220,
            editor: new fm.TextField({
                allowBlank: false
            })
        },
        {
            header: "Light",
            dataIndex: 'light',
            width: 130,
            editor: new Ext.form.ComboBox({
                allowBlank: false,
                displayField: 'al_name',
                valueField: 'al_code',
                store: new Ext.data.JsonStore({
                    url: 'res.php',
                    baseParams: {
                        start: 0,
                        limit: 5,
                        sort: 'al_code',
                        dir: 'ASC'
                    },
                    fields: ['al_code', 'al_name']
                }),
                mode: 'remote',
                enableKeyEvents: true,
                editable: true,
                resizable: true,
                forceSelection: true,
                triggerAction: 'all',
                selectOnFocus: true,
                emptyText: '-',
                listWidth: 'auto',
                minListWidth: 'auto',
                typeAhead: true
    
            })
        },
    Json Response
    Code:
    [
       {
          "al_code":"00",
          "al_name":"Janet"
       },
       {
          "al_code":"01",
          "al_name":"HLX (Hapag-Lloyd Express)"
       },
       {
          "al_code":"02",
          "al_name":"Viva Aerobus"
       },
       {
          "al_code":"03",
          "al_name":"WebJet Linhas Aereas"
       },
       {
          "al_code":"0A",
          "al_name":"Amber Air"
       }
    ]
    The bug is not related to data I got back in a Json.

    Please see pictures.
    Attached Images
    Attached Files

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    it's a Chrome 2.x bug (though google claims to have fixed it).

    i've had it hang on me on other javascript-heavy non-Ext pages, as well as the editorgrid.

    i can't find the old issue i starred (also had to do with facebook and some other sites), but here are some of the facebook-related issues reported for Chrome 2:
    http://code.google.com/p/chromium/issues/detail?id=8080
    http://code.google.com/p/chromium/issues/detail?id=8960
    http://code.google.com/p/chromium/is...etail?id=13534

    one thing you could try for now is the Chrome 3 beta channel.
    once i switched my users over to Chrome 3.x from 2.x stable, the problem disappeared.
    even Chrome 1.x didn't exhibit the problem.

  3. #3
    Ext User
    Join Date
    Mar 2008
    Posts
    57
    Vote Rating
    0
    aleczapka is on a distinguished road

      0  

    Default


    Thx for the tips! It's good to know I am not the only one


    I will give a Chrome v3.x a try.

Thread Participants: 1

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