PDA

View Full Version : [OPEN-1025] IE8 freeze/hang on drag/drop of portlet with Ext Chart in IFrame



mcouillard
4 Jun 2010, 7:21 AM
Ext version tested:


Ext 3.2.1



Adapter used:


ext



css used:


only default ext-all.css



Browser versions tested against:


IE7 (no problem)
IE8
FF3 (no problem)



Operating System:


Win7
WinXP



Description:


When a portlet contains an IFrame with an Ext Chart, drag/drop actions on that portlet often cause the browser to hang for 5-20 seconds. Minimize, maximize and drag/drop have caused this problem. IE8 only. Seen on quad-core 3ghz machine as well as another more standard machine.



Test Case:
Use Ext 3.2.1 examples. Change /portal/portal.html so that any 2 portlets have new HTML properties:

Portlet 1 change:

//html: Ext.example.shortBogusMarkup
html: '<iframe src="../chart/pie-chart.html" width="100%" height="300"></iframe>' //works fine!
Portlet 2 change:

//html: Ext.example.shortBogusMarkup
html: '<iframe src="../chart/charts.html" width="100%" height="300"></iframe>' //hangs!Then load the portal page. Attempt to drag/drop the charts.html portlet. It often hangs the browser for 5-20 seconds (CPU utilization is high). The pie-chart.html portlet always works. Same for the others.

This problem seems to have arisen between 3.1.1 and 3.2.1. Our application uses a portal with a 2-column dashboard. A handful of the possible portlets use charts (most use grids). Only recently after upgrading to 3.2.1 have IE8 users noticed this problem.

IFrames are currently required in our application. MIF was used while on Ext 2.x but on the upgrade to 3.x we had to drop MIF due to problems. IFrame w/chart drag/drop in IE8 worked OK without MIF on 3.x before 3.2.1.