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
671 stars 95 forks source link

Pinnable task panes do not stay pinned on refresh in modern Outlook web #4597

Open robballou opened 3 months ago

robballou commented 3 months ago

When a user pins a new message task pane, it will reopen anytime they start a new message until the page is refreshed. After refresh, the task pane will not be pinned and will need to be re-pinned by the user. Is there anything additional necessary to keep a pinned tab pinned even after refresh? The same behavior happens if you close or navigate away from Outlook and then return.

Environment

Expected behavior

Pinning should work after refreshing the page or when returning to Outlook after closing the browser tab.

Current behavior

Currently, refreshing the page in anyway will cause the pinned tabs to no longer be pinned. This happens both for compose and read panes.

Steps to reproduce

  1. With an add-in that supports pinning, start composing an email with "New Mail" button.
  2. Open the new message task pane and pin it.
  3. Without refreshing, select an existing email. Task pane closes correctly.
  4. Then start composing an email with "New mail". Task pane will open correctly.
  5. Now refresh the web page. After refresh, start composing a new email with "New mail". The task pane will not open.
  6. Open the task pane. It will show that it is not pinned anymore.

I've seen this behavior in two different add-ins.

Useful logs

I have not seen any logs when pinning or refreshing that seem pertinent to this behavior.

mmanjaree-msft commented 3 months ago

Thanks for reporting this issue. It is in our backlog but unfortunately we donot have any timelines to share at this point. Internal tracking id : 4688938