Skip to content

[BUG] Password save dialog closes without saving when in DetectedEntity contextual add-in mode #5611

@CodeCube0

Description

@CodeCube0

What happened?

Description

When the add-in is operating in <ExtensionPoint xsi:type="DetectedEntity"> mode, the browser's native "Save Password" popup dialog appears as expected. However, clicking the Save button causes the dialog to immediately close without saving the credentials. This behavior is consistent and reproducible — the password is never saved.

Steps to Reproduce

  1. Load the add-in using an ExtensionPoint of type DetectedEntity.
  2. Trigger the contextual add-in activation (e.g., by matching a regex rule in the message body).
  3. Wait for or trigger the browser's native "Save Password" popup to appear.
  4. Click the Save button in the popup.

Expected Behavior

Clicking Save should persist the credentials and dismiss the dialog normally.

Actual Behavior

The dialog closes immediately upon clicking Save and the password is not saved. This happens consistently every time.

Environment

  • Extension point type: DetectedEntity
  • Manifest type: Add-in only manifest (XML)
  • Outlook client: (please specify, e.g., Outlook on the web, classic Outlook on Windows)
  • Browser/WebView: (please specify)

Additional Context

The issue appears to be related to the focus or lifecycle management of the contextual pane in DetectedEntity mode, which may be intercepting or suppressing the save action of the native credential dialog.

Screenshot attached showing the password save popup appearing over the add-in UI.

Screenshot

Image

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

148.0.3967.83

SDK Version

No response

Framework

Other

Operating System

Windows 11

OS Version

26200.8524

Repro steps

Steps to Reproduce

  1. Load the add-in using an ExtensionPoint of type DetectedEntity.
  2. Trigger the contextual add-in activation (e.g., by matching a regex rule in the message body).
  3. Wait for or trigger the browser's native "Save Password" popup to appear.
  4. Click the Save button in the popup.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions