Slow shortcuts after installing

Add-in Express™ Support Service
That's what is more important than anything else

Slow shortcuts after installing
 
Omri Suissa




Posts: 137
Joined: 2011-10-17
Hi,
This is a really urgent issue. we are installing in a customer VDI (desktop virtualization) environment and we encounter this problem:
http://www.add-in-express.com/forum/read.php?FID=10&TID=6755

IE: 8.0.7601.17514
Win: 7 enterprise
File types: .url

Did you fixed it in the new builds?

Do you know what is the problem?

Thanks,
Omri
Posted 11 Jun, 2012 03:54:59 Top
Dmitry Kostochko


Add-in Express team


Posts: 2742
Joined: 2004-04-05
Hi Omri,

That bug was fixed on 1 Mar, 2010 in build 6.1.368.

We have just checked our sources, it looks like the root of the issue is the same injecting the loader in the main IE 8 process. Moreover, we have just tested a simple add-on with the new loader version (7.2.4104.1) and reproduced the issue in IE 8. At the moment I would suggest using the official loader version (7.2.4104.0).

We are investigating the issue further, I will inform you about our results.
Posted 11 Jun, 2012 05:35:51 Top
Omri Suissa




Posts: 137
Joined: 2011-10-17
Hi all,
After several emails we found that the LoadOnMainProcess = true is the problem and we did it to get the OnTabActivated event in IE 8.

Dmitry found a workaround:
instead of using the OnTabActivated event we start a timer in the OnConnect and check if the tab window handle is visible using win api

[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool IsWindowVisible(IntPtr hWnd);

...

if (IsWindowVisible(this.ParentHandle))
{
   //tab is visible...
}


using this workaround we set the LoadOnMainProcess to false and everything is working great on IE8.

Thanks,
Omri
Posted 11 Jun, 2012 11:44:22 Top
Dmitry Kostochko


Add-in Express team


Posts: 2742
Joined: 2004-04-05
Hi Omri,

Thank you for sharing your solution with other forum readers.
If you have any questions or run into problems feel free to contact us.
Posted 12 Jun, 2012 04:40:20 Top