Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,777
    Vote Rating
    112
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default [CLOSED]Ext 4 examples "pause" when running with FB open

    [CLOSED]Ext 4 examples "pause" when running with FB open


    If I have Firebug open as I load an Ext 4-example, it pauses and shows me this line (no exception thrown):

    Code:
    evaluatedFn = function(values, parent, xindex, xcount){return ['<div class="',(values['baseCls'] === undefined ? '' : values['baseCls']),'-body',this.applySubTemplate(0, values, parent, xindex, xcount),'"',this.applySubTemplate(1, values, parent, xindex, xcount),'></div>'].join('');};
    I can then press play button and example runs as expected, any idea why this happens?

    stack:

    Code:
    evaluatedFn(Ext=undefined)37 (rad -301)
    evaluatedFn(values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, parent=Object {}, xindex=1, xcount=1)37 (rad -301)
    compiled(values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, parent=Object {}, xindex=1, xcount=1)ext-all-debug.js (rad 764)
    applySubTemplate(id=1, values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, parent=Object {}, xindex=1, xcount=1)ext-all-debug.js (rad 685)
    evaluatedFn(values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, parent=Object {}, xindex=1, xcount=1)37 (rad 1)
    compiled(values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, parent=Object {}, xindex=1, xcount=1)ext-all-debug.js (rad 793)
    applyTemplate(values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false})ext-all-debug.js (rad 805)
    doInsert(where="beforeEnd", el=div#header-1023.x-panel-header, values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, returnEl=undefined)ext-all-debug.js (rad 293)
    append(el=Object { dom=, id="header-1023", more...}, values=Object { baseCls="x-panel-header", componentCls="x-panel-header", frame=false}, returnElement=undefined)ext-all-debug.js (rad 288)
    onRender(container=Object { dom=, id="gridpanel-1016", more...}, position=div#ext-gen1013.x-panel-body)ext-all-debug.js (rad 35372)
    render(container=Object { dom=, id="gridpanel-1016", more...}, position=0)ext-all-debug.js (rad 35275)
    render(ct=Object { dom=, id="gridpanel-1016", more...}, position=0, overwrite=undefined)ext-all-debug.js (rad 42687)
    renderItem(item=Object { initialConfig={...}, title="Restaurants", more...}, target=Object { dom=, id="gridpanel-1016", more...}, position=0)ext-all-debug.js (rad 4737)
    renderItems(items=[Object { initialConfig={...}, title="Restaurants", more...}], target=Object { dom=, id="gridpanel-1016", more...})ext-all-debug.js (rad 4708)
    beforeLayout()ext-all-debug.js (rad 4691)
    callParent(args=[600, 400, true, undefined])ext-core-debug.js (rad 2396)
    beforeLayout(width=600, height=400, isSetSize=true, layoutOwner=undefined)ext-all-debug.js (rad 26896)
    layout()ext-all-debug.js (rad 4682)
    doComponentLayout(width=600, height=400, isSetSize=true, ownerCt=undefined)ext-all-debug.js (rad 36388)
    setSize(width=600, height=400)ext-all-debug.js (rad 36324)
    afterRender()ext-all-debug.js (rad 35389)
    afterRender()ext-all-debug.js (rad 42707)
    callParent(args=undefined)ext-core-debug.js (rad 2396)
    afterRender()ext-all-debug.js (rad 52311)
    render(container=Object { dom=, id="ext-gen1008", more...}, position=undefined)ext-all-debug.js (rad 35288)
    render(ct=Object { dom=, id="ext-gen1008", more...}, position=undefined, overwrite=undefined)ext-all-debug.js (rad 42687)
    constructor(config=Object { renderTo={...}, store={...}, more...})ext-all-debug.js (rad 35117)
    constructor(config=Object { renderTo={...}, store={...}, more...})ext-all-debug.js (rad 42665)
    newClass()ext-core-debug.js (rad 2929)
    (?)()groupgrid.js (rad 234)
    call()ext-core-debug.js (rad 12829)

  2. #2
    Sencha User
    Join Date
    Apr 2007
    Posts
    164
    Vote Rating
    0
    vladsch is on a distinguished road

      0  

    Default


    Hi,

    The same behaviour under IE8 with debug mode (for example, if run the page under Visual Studio with debugging). VS shows huge of 'eval' executions. I already posted about it (just I did not notice first that debugging mode is the issue)
    http://www.sencha.com/forum/showthre...-Ext.Msg.alert

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,054
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    It's breaking on the error, fairly sure that gets wrapped in a try/catch. The same thing will happen on Chrome.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,777
    Vote Rating
    112
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    @evant, any idea about the cause?

  5. #5
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,054
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Run this:

    Code:
    try {
        return foo;
    } catch (e) {
        console.log('blah');
    }
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  6. #6
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,777
    Vote Rating
    112
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Not sure what you mean:

    Code:
    >>> try { return "foo"; } catch (e) { console.log('blah'); }
    SyntaxError: return not in function
    All the Ext 4 examples show this behaviour when running them with FB open, surely not what you want..?

  7. #7
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Hi manks,

    i can't confirm that here. I run them on FF4b and FB1.7X0.b1. They work fine with opened console.
    Maybe it's illumination that makes problems?
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  8. #8
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,777
    Vote Rating
    112
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Don't have any FB plugins activated, running Firefox 3.6.15

  9. #9
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    try switch to FF4b - it's worth to do!
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

Similar Threads

  1. [OPEN-569] RC1 Lists: Unexpected Pause in Momentum Scrolling
    By jacstofberg in forum Sencha Touch 1.x: Bugs
    Replies: 4
    Last Post: 13 May 2011, 12:17 PM
  2. Running 3.0 Examples und MS IIS with IE7
    By Iko in forum Ext 3.x: Help & Discussion
    Replies: 9
    Last Post: 10 Jun 2009, 10:25 AM
  3. Running GXT EXT Examples in Host Mode
    By ExtJsNoviceMember in forum Ext GWT: Help & Discussion (1.x)
    Replies: 3
    Last Post: 6 Jan 2009, 9:23 AM

Thread Participants: 3