1. #11
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Answers
    9
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    @frank --

    Get current: 4.0.7. Much has changed since 4.02
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  2. #12
    Sencha User
    Join Date
    Oct 2011
    Posts
    17
    Vote Rating
    0
    franksencha is on a distinguished road

      0  

    Default Please see #3

    Please see #3


    Here's the copy of the #3. And try new version is always the first suggestion from sencha ?
    Please help!

    Tried v4.0.7. Here's the error but on the deffent lines comparing to v4.0.2a
    --------------------------------------------------------------------
    Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)
    Timestamp: Wed, 21 Dec 2011 14:53:20 UTC

    Message: 'Ext.fly(...)' is null or not an object
    Line: 11824
    Char: 13
    Code: 0
    URI: http://..../ext-all-debug.js

    Message: 'Ext.fly(...)' is null or not an object
    Line: 11824
    Char: 13
    Code: 0

  3. #13
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Answers
    9
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    @frank -- yes, line numbers are likely to be different between releases (things change)

    99.99% of the time - If it works on all other browsers except IE, it usually means you have an unwanted comma somewhere in YOUR script.

    Run it through jslint.com and report back.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  4. #14
    Sencha User
    Join Date
    Oct 2011
    Posts
    17
    Vote Rating
    0
    franksencha is on a distinguished road

      0  

    Default


    Thanks hendricd. Cannot get all the .js files work separately(post to jslint.com). The application is pretty big. The situations are happen randomly by moving mouse around the screen. It's a event related. Please see xuzicn's post.

    Thanks in advance.

  5. #15
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Answers
    9
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    In order to trace down the cause, you'll need to examine the call-stack when the error occurs in IE8's debugger, but you must use ext-all-debug to be effective. Only the call stack will yield enough clues as to why.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  6. #16
    Sencha User
    Join Date
    Oct 2011
    Posts
    17
    Vote Rating
    0
    franksencha is on a distinguished road

      0  

    Default


    screenshot attached
    Attached Images

  7. #17
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Answers
    9
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    ok @frank,

    Switch to call stack tab and click on each function (examining the 'locals' tab for each along the way) until you can see what triggered the event in the first place.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  8. #18
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    1
    xuzicn is on a distinguished road

      0  

    Default


    hendricd

    I already wrote down the callstack in #7.
    Provide snapshot below:
    fly-break.jpg

    Or run this code in IE8. You need to click the text box then move mouse in the popup window area quickly.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <script type="text/javascript" language="javascript" src="ext-all-debug.js"></script>
        <link type="text/css" rel="Stylesheet" href="resources/css/ext-all.css" />
        <script type="text/javascript">
            Ext.onDocumentReady(function () {
                Ext.create('Ext.window.Window', {
                    title: 'Hello',
                    modal: true,
                    items: [{
                        xtype: 'textfield',
                        fieldLabel: 'name',
                        value: 'aaa'
                    }, {
                        xtype: 'combo',
                        fieldLabel: 'age',
                        store: [[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6]],
                        disabled: true,
                        value: 1
                    }]
                }).show();
            });
        </script>
    </head>
    <body>
    </body>
    </html>

  9. #19
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,596
    Answers
    542
    Vote Rating
    324
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Thanks for the test case, that makes things much easier.

    I can reproduce your problem in IE8 now. I'm still digging to figure out what's going on but I've come up with a slightly different test case that fails more readily:

    Code:
    <!DOCTYPE HTML>
    <html>
    <head>
        <title></title>
        <link rel="stylesheet" type="text/css" href="ext-all.css"/>
        <script type="text/javascript" src="ext-all-debug.js"></script>
        <script>
            Ext.onReady(function () {
                Ext.create('Ext.window.Window', {
                    height: 85,
                    layout: 'anchor',
                    minHeight: 50,
                    minWidth: 50,
                    width: 50,
                    items: [
                        {
                            anchor: '100%',
                            value: 'aaa',
                            xtype: 'textfield'
                        }, {
                            anchor: '100%',
                            disabled: true,
                            value: 'bbb',
                            xtype: 'textfield'
                        }
                    ]
                }).show();
            });
        </script>
    </head>
    <body>
    </body>
    </html>
    It seems that the disabled text input is a key part of the problem. I'll let you know how I get on with digging into this...

  10. #20
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,596
    Answers
    542
    Vote Rating
    324
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I've submitted a bug report here:

    http://www.sencha.com/forum/showthread.php?175372

    That thread includes details of my attempts to debug this problem, including a patch.