Open georgehatg opened 8 months ago
Thanks for reporting the issue. We will take a look shortly. + @zhenhuangMSFT to further isolate the root reason.
Hallo do you have any update on this? Have you reproduced the issue?
Any updates? This is a web addin blocker bug it is very important for us to know if you are going fix this.
Hi @georgehatg, sorry for the delay. Currently this is a by-design behavior for shared runtime enabled add-ins due to the auto-open feature. Could you try saving the file with taskpane closed and see if it repros?
We are also evaluating the possibility of making the change as the design change could potentially impact existing scenarios that have been running for a long time.
We will keep you updated for the progress and feel free to let us know your further inquiries. Thanks for your patience!
Hi @georgehatg, sorry for the delay. Currently this is a by-design behavior for shared runtime enabled add-ins due to the auto-open feature. Could you try saving the file with taskpane closed and see if it repros?
We are also evaluating the possibility of making the change as the design change could potentially impact existing scenarios that have been running for a long time.
We will keep you updated for the progress and feel free to let us know your further inquiries. Thanks for your patience!
Hallo,
I dont understand the design case when an Equivalent Addin still opens while it shouldn't, can you please explain how this can impact scenarios and what could those scenario be? Is there a scenario that I use Equivalent Addin and still I want the panel to be open? Why not stop using Equivalent Addin then?
I think that the issue is in the workflow of Excel because it firsts read the webextension1.xml and then opens the panel, while it should first read the installed COM addins and then read the webextension1.xml and only open the panel if not listed in the equivalent addins.
Related to the workaround, as far as I know there is no save event so how am I supposed to save the document with a closed panel? Also what happens in the web office version, there is no save button there and I dont have any control on how you store webextension1.xml on the web.
Do you have any timeline on when this can be fixed? I think it is a release blocker not only for me but for everyone that uses OfficeJS with Equivalent Addin.
Hey @georgehatg, sorry for the inconvenience caused. While we evaluate the scenarios that might be impacted, you can apply the following workaround if the document has the JS add-in persisted.
Please note that if you have never saved the document with the JS add-in taskpane opened, the add-in will not persist in the document and no following auto-opens will happen.
Hallo,
Thank you for the reply, but this "workaround" is a scenario for fixing a faulty file that was created with the JS addin first. This is not a workaround for solving the application issue because some users will definetly open the file using the web addin without the COM addin installed and re-add the add in content, so I can not ask them to make that process in daily basis.
What I am asking is not how to fix a "faulty" file, I already know how to do this. What I am asking is to be able to use the EquivalentAddin correctly and that is if a COM addin is installed it should not launch the web addin in all cases, even if the file was saved from the JS addin initially or opened to JS after the COM addin.
Do you think this will be fixed? Unfortuanatelly this BUG completely blocks are development plans for OfficeJS and we are very unsure if we should proceed with development or not, can you please give us an idea of then this could be possibly fixed?
Thank you
Hey @georgehatg, I understand and mostly agree with you. We are working on the fix but please be patient as we definitely need to assess the potential impact it might have.
Any Updates on this issue? It is almost 4 months and it is still not fixed...
Hi there, we are currently evaluating making a series of changes to this feature, and this is one of the feedback items we are looking at to include. Please bear with us as we work through making this feature better all up!
We had a number of support escalations regarding this issue recently.
Please consider increasing the priority of this bug! It feels like the equivalence mechanism protection is "one-sided", because it works properly if you install JS after COM, but doesn't work correctly if you install COM after having used JS.
Our customers said it was very annoying to always see the side panel initialised despite the fact that they don't want to use the JS add-in yet.
I proposed a workaround with the document inspector, however they have dozens of documents and it is poor user experience to manually clean up the task pane add-in from every one of them – they were not happy.
In the case when a workbook is saved with a web addin installed and after that we install the equivalent COM addin and open the workbook again (with the COM addin and WEB addin installed) the web taskpane is loaded (that is wrong) while the Ribbon commands do not load (that is correct).
If the COM addin is installed and the WEB addin is installed at the same time and then we create a new workbook the WEB addin does not load as expected. If we open that document back the WEB addin is not loaded as expected.
After investigating the webextension1.xml that is included inside the XML I have found out the following snippet, that if removed from webextension1.xml the addin works as expected:
So it looks like there is a BUG when opening a document that contains the above web extension reference that is created by Excel when saving a workbook with a web addin embedded.
Please download following files:
EquivalentAddinWorking.xlsx EquvalentAddinNotWorking.xlsx
Environment
Expected behavior
The web addin should not be loaded if an Equivalent addin exists.
Current behavior
The web addin taskpane is loaded while it shouldn't, while the Ribbon commands are not loaded as the should.
Steps to reproduce
Link to live example(s)
Use files above. Please see reproduction steps:
https://github.com/OfficeDev/office-js/assets/156675703/4a94864b-574e-4430-ac70-198de50e7445