You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version 2.2.1-alpha
Critical UI Responsiveness & Locking Fixes
Fixed: Unresponsive F12 & Context Menu: Resolved a critical issue where Developer Tools and Right-Click menus would become unresponsive or "missing" (Inspect) after navigation.
Root Cause: Identified as COM overhead during dual event sink processing and synchronous state lag when toggling engine properties.
Improved: Interception-Based Locking: Refactored LockWebView / UnLockWebView to be 100% reliable.
Instead of toggling engine settings (which caused UI flickering), the library now stays permanently "Open" at the engine level but intercepts and blocks events via the _isLocked flag in C#.
C# Fast Path Optimization: F12 and basic context menus are now handled directly in C# whenever possible, bypassing the AutoIt COM layer for instant response times.
Robust AutoIt Navigation: _NetWebView2_Navigate and _NetWebView2_NavigateToString now use a guaranteed UnLockWebView pattern, preventing the browser from remaining locked on navigation errors.
Persistence Fix: Resolved state corruption where SetLockState would accidentally overwrite user preferences (Like AreDevToolsEnabled=True) with False.