Skip to content

Turn off SmartScreen and keep crash reports local in the Windows window - #278

Merged
abrignoni merged 3 commits into
mainfrom
fix/webview2-smartscreen-crash-reports
Oct 10, 2026
Merged

abrignoni merged 3 commits into
mainfrom
fix/webview2-smartscreen-crash-reports

Conversation

@abrignoni

@abrignoni abrignoni commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Turns off the two things the Windows window would send to Microsoft that an app can turn off, and says so in the privacy policy.

  • SmartScreen: IsReputationCheckingRequired is set to false before the first navigation.
  • Crash reports: the WebView2 control starts on an environment created with IsCustomCrashReportingEnabled, so dumps stay on the machine.
  • The Windows desktop smoke test now fails unless both took effect. It printed smartscreen=False crash_reports='local' from source and from the frozen GLEAPP.exe.
  • Not covered: the diagnostic data Windows collects for WebView2. Microsoft gives an app no switch for it, and the docs say that.
  • No traffic was captured. The settings are read back, not measured on the wire.

Co-Authored-By: Claude Opus 5.5 [email protected]

abrignoni and others added 3 commits October 10, 2026 09:35
The Windows window is drawn by Microsoft's WebView2 Runtime. Left alone it
checks page addresses and downloads with SmartScreen and sends a crash dump
of a WebView2 process to Microsoft. pywebview sets neither switch.

GLEAPP now sets IsReputationCheckingRequired to false before the first
navigation, and starts the control on an environment created with
IsCustomCrashReportingEnabled. The desktop smoke test fails on Windows
unless both took effect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The privacy policy, the manual and the help page now name the WebView2
Runtime: SmartScreen is off, crash reports stay on the machine, and the
diagnostic data Windows collects for it is outside an application's control.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni marked this pull request as ready for review October 10, 2026 14:17
@abrignoni
abrignoni enabled auto-merge October 10, 2026 14:17
@abrignoni
abrignoni merged commit 12060ef into main Oct 10, 2026
12 of 13 checks passed
@abrignoni
abrignoni deleted the fix/webview2-smartscreen-crash-reports branch October 10, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant