OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
669 stars 95 forks source link

Minimizing the main new outlook window whilst any onSend addin is still progressing will halt processing and cause crashes to new outlook windows #4791

Open mikey8808 opened 4 weeks ago

mikey8808 commented 4 weeks ago

With any onSend addin, minimizing the main new outlook window whilst any onSend addin is still progressing in a popped out window will halt processing and cause crashes.

Works fine in other platforms.

Your Environment

Expected behavior

In New outlook, I expect any onSend addin to continue processing when a user minimizes the main outlook window should not affect the addin processing.

Current behavior

Minimizing the main new outlook window whilst any onSend addin is still progressing will halt processing and cause crashes to new outlook windows

Steps to reproduce

  1. Send an email in a popped out window
  2. Minimize the main outlook window
  3. The email in the poppeed out window will crash and any onSend processing will halt.
sivachandran-msft commented 3 weeks ago

Hi @mikey8808 , thanks for sharing the observation. I tried repro the scenario in my environment and I am not observing any crash. Could you please share the following information:

  1. Please follow the steps in the link to collect the logs and share it
  2. Can you share the onSend addin details which you are using & where the issue is getting generated
  3. Is this observation seen even if the outlook mail is smaller & lengthy email chains?
mikey8808 commented 3 weeks ago

can you please provide an email to send the files to?

This is an internal onSend addin being developed within our company. There are no errors on the console or new outlook, the onsend addin processing stops when the main new outlook window is minimized.

This occurs with any email. doesn't matter large or small in email chains.

rajjha-msft commented 3 weeks ago

Hey @mikey8808

Can you please create a private GH repo with the files uploaded and share with @exextoc ?

mikey8808 commented 3 weeks ago

I have created a private GH repo with the files. The main window HAR file is too large to attach though. Please suggest an alternative.

rajjha-msft commented 2 weeks ago

Hey @mikey8808

You can host the files in any drive and share the link with us via the private repo. Also, would be great if you can help us with a sample add-in which we can use to repro the issue.

mikey8808 commented 1 week ago

please reopen this issue. this happens with any addin that interacts with sending.

mikey8808 commented 1 week ago

i have added the files to this repro https://github.com/mikey8808/4791-New-Outlook-onSend-addin-crash-when-minimizing-main-window

mobisw-msft commented 1 week ago

Reopening this to investigate further.

rkpathak commented 1 day ago

@mikey8808 Please share the files again, the invitation for the GH repo you mentioned has expired.

mikey8808 commented 1 day ago

I have given you access to the repo below:

https://github.com/mikey8808/4791-New-Outlook-onSend-addin-crash-when-minimizing-main-window

exextoc commented 18 hours ago

@mikey8808 Please share the addin that we can side load and test the scenario. Share the minimal addin that helps us repro the scenario. You can create a private repo and share it with @exextoc. The repo you shared only contains logs and har files.