Hybrid View

    You found a bug! We've classified it as TOUCH-3891 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default [Serious] Settings itemHeight to 0 in list causing Tab to hang and leak memory

    [Serious] Settings itemHeight to 0 in list causing Tab to hang and leak memory


    For Sencha 2.1.

    Settings itemHeight to 0 in list causing Browser / Tab to hang and memory of the that Browser/ Tab growing steady and fast.

    Simple example:

    Code:
    /*global Ext:false */
    Ext.application({
        launch:function () {
            Ext.create('Ext.List', {
                fullscreen:true,
                itemTpl:'{title}',
                            itemHeight:0,
                data:[
                    { title:'Item 1' },
                    { title:'Item 2' },
                    { title:'Item 3' },
                    { title:'Item 4' }
                ]
            });
        } // launch
    }); // application()
    After executing this piece of code you will get unresponsive Browser or Tab.
    Tested on Chrome under Windows 7. Memory will keep growing fast as long as hanging process running.

    Expected behavior: Tab should not hang, List should contain all items with height 0.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I'm not quite sure why you would do that but indeed it should technically work.

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    I'm not quite sure why you would do that but indeed it should technically work.

    Thanks for the report! I have opened a bug in our bug tracker.
    No problem. I agree, settings it to 0 doesn't make much sense and we've found this accidentally but impact is severe so I thought it needed attention.

Thread Participants: 1