Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Internet Explorer Hanging, and not responds. (Read 4292 times)
Aby
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Jun 6th, 2013
Internet Explorer Hanging, and not responds.
Jun 5th, 2014 at 11:44am
Print Post  
Hi,

The mindfusion works every other browser except IE, correctly. In IE It is very slow and now it has become unbearingly slow, and finally hung the browser. we have just now upgraded to 1.8

Do we have any way to make Mindfusion work in IE ?

Regards,
Aby
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Internet Explorer Hanging, and not responds.
Reply #1 - Jun 5th, 2014 at 12:21pm
Print Post  
Hi,

What Internet Explorer version are you using? We are not aware of any IE-specific problems, but since its JavaScript interpreter is slower than other browsers, you might try turning off some graphics elements if you detect it, e.g. hide the alignment grid, do not apply effects, do not show the Overview control, etc.

Stoyan
  
Back to top
 
IP Logged
 
Aby
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Jun 6th, 2013
Re: Internet Explorer Hanging, and not responds.
Reply #2 - Jun 5th, 2014 at 12:31pm
Print Post  
we use IE 9.0.8112. The memory usage increases on each refresh of the page containing the mindfusion's canvas, and when it reaches around 700MB of IE's memory, mindfusion starts to show errors in javascript console.

Thanks,
Aby
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Internet Explorer Hanging, and not responds.
Reply #3 - Jun 5th, 2014 at 1:17pm
Print Post  
What do you mean by refresh, is it reloading the whole page after post-back, or just drawing on the diagram? The Canvas element is backed by a bitmap, which might require a lot of memory if it's several screens wide and high. If your diagrams are large, try setting the DiagramView.VirtualScroll property to true in order to keep the Canvas bitmap small.
  
Back to top
 
IP Logged
 
Aby
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Jun 6th, 2013
Re: Internet Explorer Hanging, and not responds.
Reply #4 - Jun 6th, 2014 at 10:08am
Print Post  
yes, we refresh by doing a full page refresh (refresh button in browser).

yes, the canvas is several screen big, and we have set virtualscroll to true via javascript. will that be enough or we got to set it from server side too ?


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Internet Explorer Hanging, and not responds.
Reply #5 - Jun 6th, 2014 at 2:05pm
Print Post  
We are not sure if IE actually reallocates the bitmap when changing canvas size from larger to smaller, which happens when you enable VirtualScroll. If it does not, it might keep using the large bitmap, and not freeing it after refresh is probably a memory leak. Try the following as a work-around:

- set a small Diagram.Bounds before submitting to browser from server
- add a ControlLoadedScript handler
- call setVirtualScroll(true) from it
- only then set large diagram.Bounds, e.g. by calling resizeToFitItems or setBounds(fixed size).

Code
Select All
function onLoaded(sender, args)
{
    sender.setVirtualScroll(true);
    sender.setBounds(new MindFusion.Drawing.Rect(0, 0,5000, 5000));
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint