Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    204
    Vote Rating
    12
    firefoxSafari will become famous soon enough

      0  

    Default Ext-JS 4.2 - IE10 feature detection - Direct2DBug is 0

    Ext-JS 4.2 - IE10 feature detection - Direct2DBug is 0


    Test case:

    Using an IE10 browser, open up the console and execute Ext.supports.Direct2DBug. It will return 0.

    Expected result:

    Should return a truthy value. I'm basing this off the code from Support.js.

    Code:
            /**
             * @property Direct2DBug True if when asking for an element's dimension via offsetWidth or offsetHeight,
             * getBoundingClientRect, etc. the browser returns the subpixel width rounded to the nearest pixel.
             * @type {Boolean}
             */
            {
                identity: 'Direct2DBug',
                fn: function() {
                    return Ext.isString(document.body.style.msTransformOrigin) && Ext.isIE10m;
                }
            },
    The strange thing is, I can execute the line from the return statement on the console in IE10 and get true. So it seems something is wrong with feature detection.

    This looks like an especially frustrating bug because it makes the tooltip text go haywire in IE10. I experimented with tooltip examples setting the Direct2DBug back to true in IE10 and it looked like it took care of the wrapping issues many are reporting.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    15,095
    Vote Rating
    97
    evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold

      0  

    Default


    Indeed, we already have this one fixed for 4.2.1. Thanks for the post.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    687
    Vote Rating
    62
    Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough

      0  

    Default


    Hi Evan,

    Could you share a fix if possible?
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter