PDA

View Full Version : [OPEN] [#170] Direct2DBug and MessageBox Confirm



jchau
Mar 10, 2013, 7:38 PM
If I turn off Direct2DBug, messagebox confirm wraps funny. I turned off Direct2DBug for IE9 performance reasons, as recommended by a thread on ExtJS forum. Is there a way to fix this? I really do want the performance gains achieved with Direct2DBug.



<html>
<head id="Head1" runat="server">


</head>
<body>
<script type="text/javascript">
Ext.supports.Direct2DBug = false;
Ext.onReady(function () {
Ext.MessageBox.confirm('TItle', 'Are you sure you want to log out?');
});
</script>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
DisableViewState="true" />
</form>
</body>
</html>

jchau
Mar 10, 2013, 7:44 PM
For now, I just turn it on before confirm and turn it back off after confirm




Ext.supports.Direct2DBug = false;

Ext.onReady(function () {
Ext.supports.Direct2DBug = true;
Ext.MessageBox.confirm('TItle', 'Are you sure you want to log out?');
Ext.supports.Direct2DBug = false;
});

Daniil
Mar 13, 2013, 12:26 PM
Hello @jchau,

Maybe, it is the Direct2DBug's destination to correct such issues. What do you think?


as recommended by a thread on ExtJS forum.

What is the link? I just need more information for a possible report to Sencha.

jchau
Mar 13, 2013, 1:22 PM
Hello @jchau,

Maybe, it is the Direct2DBug's destination to correct such issues. What do you think?



What is the link? I just need more information for a possible report to Sencha.

Here's the thread: http://www.sencha.com/forum/showthread.php?230719-4.1.1-IE9-showing-load-mask-on-grid-is-slow

We do notice a siginificant improvement in layout speed with Direct2DBug = false

Daniil
Mar 13, 2013, 2:05 PM
Thank you.

I reported to Sencha.
http://www.sencha.com/forum/showthread.php?258594

Lets wait what they will answer.

Baidaly
Mar 13, 2013, 11:46 PM
Hello!

Sencha opened bug ticket.

We created an Issue to track.
https://github.com/extnet/Ext.NET/issues/170