Show "Loading add-in" before the task pane web app is available
Product
Office.js / Outlook Classic (Task Pane Add-ins)
Problem Description
When a task pane add-in is opened in Outlook Classic, there can be a significant delay before the add-in's web application is displayed. During this phase, users often see a blank or empty task pane without any indication that the add-in is still loading.
Based on our observations, this delay frequently occurs before the add-in page itself is loaded and before any JavaScript code can be executed. The startup time appears to be heavily influenced by the underlying Chromium/WebView network initialization and page-loading process.
As add-in developers, we currently have no opportunity to provide feedback to the user during this early loading phase because the web application has not yet started executing.
User Impact
A blank task pane creates the impression that:
- Outlook has frozen.
- The add-in has crashed.
- The add-in failed to load.
- The user needs to close and reopen the add-in.
This leads to confusion, unnecessary support requests, and a poor user experience, especially in environments with slow network conditions, security software, proxy servers, or delayed WebView initialization.
Proposed Enhancement
Provide a native Outlook-hosted loading screen that is displayed immediately when the task pane is opened and remains visible until the add-in page has started loading successfully.
Example messages:
- "Preparing add-in..."
- "Loading add-in..."
- "Initializing add-in environment..."
The loading screen could optionally include:
- A progress indicator or spinner.
- Diagnostic information for troubleshooting.
- A timeout message if loading exceeds a configurable threshold.
Alternative Proposal
Expose an API that allows developers to define static HTML content that Outlook can display before the actual add-in page is loaded.
Since displaying simple HTML content is possible without waiting for the complete network stack and WebView page initialization, this would allow developers to provide immediate visual feedback while the Chromium/WebView infrastructure is still preparing the add-in.
Benefits
- Improved user experience.
- Reduced perception of application hangs.
- Fewer support tickets related to slow add-in startup.
- Better transparency during WebView initialization.
- Improved reliability perception for Office Add-ins in enterprise environments.
Environment
- Outlook Classic for Windows
- Office.js Task Pane Add-ins
- Chromium-based WebView runtime
The issue is most noticeable in environments where WebView initialization or network-related startup operations are delayed.