OnTabActivated not working

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

OnTabActivated not working
 
Omri Suissa


Guest


Hi,
OnTabActivated is one of the most important events in our addon (actually this is the reason that we are working with addin express :).

On our development environment everything works but in one of our customer (Win7 IE9) the event not working in specific case and its very argent to solve it from our side.

If you create a static int on the addon and add +1 every time you get OnConnect you will notice that in some tabs the static var is new (1) and in some it shared among several tabs (and the threadId is different). that means that sometimes tabs share the same appdomain. we notice that when a second tab is added to the appdomain (that means that our static int is now 2) the event OnTabActivated not working for this tab (but works for the first tab that on this appdomain and for another tab that hosts in another appdomain). all other events (like DocumentComplete) works perfect on all three tabs (the 2 with the shared appdomain and the third one).

We need to solve this problem as soon as possible since it happens on a customer computer.

Omri
Posted 26 Jan, 2012 07:46:43 Top
Omri Suissa


Guest


I notice that if you open several tabs and not surfing it works fine, it only happening when you do the following:
1) open new IE with a predefine homepage (not new tab or about:blank, lets say google.com)
2) open another tab and surf (lets say cnn.com)
3) open another tab and click on a site form the favorites bar(lets say amazone.com)
4) go to the first tab
5) go to the last tab - no OnTabActivated

maybe it related to the fact that in the third we surf using the favorite bar?

Omri
Posted 26 Jan, 2012 07:55:04 Top
Omri Suissa


Guest


The IE version is 8 not 9 as i wrote.
Posted 26 Jan, 2012 09:22:44 Top
Eugene Astafiev


Guest


Hi Omri,

Could you please tell me the build number and version of Add-in Express?

Anyway, I will check it out in one of my virtual PCs with IE 8 and let you know the results.
Posted 26 Jan, 2012 09:48:15 Top
Omri Suissa


Guest


version: 2011 for IE
build number: 7.1.4102.0
Posted 26 Jan, 2012 09:51:35 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Omri,

I didn't manage to reproduce it yet.
What the IE9 build did you use for testing? I tested the scenario in IE9 (9.0.8112.16421) + Windows 7.
Posted 27 Jan, 2012 03:54:06 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Omri, did you set the LoadInMainProcess property of the iemodule to true?
Posted 27 Jan, 2012 04:19:23 Top
Omri Suissa


Guest


Hi Sergey,
The IE version is 8.0.7600.16385 ic (not 9 as i wrote).
LoadInMainProcess is set to true.

Omri
Posted 27 Jan, 2012 08:03:31 Top
Omri Suissa


Guest


I found out that the user is not an administrator and the UAC is on... maybe this is related to the problem?
Posted 29 Jan, 2012 04:52:56 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Omri,

I can't reproduce this issue in IE8 on my PC (Win7). Can you please ask the customer to install the latest updates? The fact is that the IE8 version is 8.0.7601.17514 on my PC.
Posted 30 Jan, 2012 04:38:04 Top