Skip to content

Bug: breadcrumb-webview2-init-fails-resource-not-in-correct-state #792

Description

@drmoisan
  • Work Mode: full-bug

Summary

The breadcrumb CoreWebView2 initialization fails intermittently with HRESULT 0x8007139F ("The group or resource is not in the correct state to perform the requested operation"), logged by both WebView2BreadcrumbHost and EfcFormController. The failure is logged and swallowed; the session continues with a breadcrumb host that never initialized, and a later BreadcrumbUiDispatcher dispatch fails in the same session. Because the #677 keyboard-lock mechanism is WebView2 focus retention, a half-initialized WebView2 is a plausible contributor to the sporadic keyboard lock, but that link is unconfirmed.

Environment

  • OS/version: Windows 11 Pro 10.0.26200
  • Python version: n/a (C# / .NET Framework 4.8 VSTO add-in)
  • Command/flags used: QuickFiler launched from the ribbon (High Confidence button); add-in loaded from TaskMaster\bin\Debug built 2026-09-06 08:51 from 7c8ac9ae
  • Data source or fixture: live Outlook Inbox view

Steps to Reproduce

  1. Launch QuickFiler from the ribbon several times in one Outlook session.
  2. Inspect TaskMaster\bin\Debug\logs\debug_<date>.log for Breadcrumb CoreWebView2 initialization failed.
  3. Observe that the failure occurs on some launches (2 of 6 today: 08:55:22 and 10:06:51) and not others.

Not reproducible on demand.

Expected Behavior

WebView2 initialization either succeeds, or fails with a clear surfaced error and a defined fallback state that cannot retain keyboard focus. A failed initialization should be retried or the host disposed, not left half-constructed.

Actual Behavior

Two ERROR lines per occurrence (WebView2BreadcrumbHost - Breadcrumb CoreWebView2 initialization failed: ... (HRESULT: 0x8007139F) and EfcFormController - Breadcrumb WebView2 initialization failed: ...), then normal operation continues. A BreadcrumbUiDispatcher - Breadcrumb UI dispatch failed. error followed at 09:01:56 in the same session.

Logs / Screenshots

  • Attached minimal logs or screenshot
  • Snippet (debug_2026-09-06.log):
2026-09-06 08:55:22,227 [VSTA_Main] ERROR QuickFiler.Viewers.WebView2BreadcrumbHost - Breadcrumb CoreWebView2 initialization failed: ... (HRESULT: 0x8007139F)
2026-09-06 08:55:22,286 [VSTA_Main] ERROR QuickFiler.Controllers.EfcFormController - Breadcrumb WebView2 initialization failed: ... (HRESULT: 0x8007139F)
2026-09-06 09:01:56,237 [VSTA_Main] ERROR QuickFiler.Viewers.BreadcrumbUiDispatcher - Breadcrumb UI dispatch failed.
2026-09-06 10:06:51,594 [VSTA_Main] ERROR QuickFiler.Viewers.WebView2BreadcrumbHost - Breadcrumb CoreWebView2 initialization failed: ... (HRESULT: 0x8007139F)
2026-09-06 10:06:51,661 [VSTA_Main] ERROR QuickFiler.Controllers.EfcFormController - Breadcrumb WebView2 initialization failed: ... (HRESULT: 0x8007139F)

Impact / Severity

  • Blocker
  • High
  • Medium
  • Low

Medium: the breadcrumb folder selector is unavailable on affected launches, and the half-initialized control is a candidate contributor to the sporadic Outlook keyboard lock tracked under the sibling QuickFiler Cancel-teardown issue filed the same day.

Source

From: docs/features/potential/2026-09-06-breadcrumb-webview2-init-fails-resource-not-in-correct-state.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions