Skip to content

fix(macos): add NSLocalNetworkUsageDescription for macOS 26 webview blank tabs#419

Open
kbaker827 wants to merge 1 commit into
Snapmaker:mainfrom
kbaker827:fix/macos26-webview
Open

fix(macos): add NSLocalNetworkUsageDescription for macOS 26 webview blank tabs#419
kbaker827 wants to merge 1 commit into
Snapmaker:mainfrom
kbaker827:fix/macos26-webview

Conversation

@kbaker827
Copy link
Copy Markdown

Summary

On macOS 26 (Tahoe), the Print Preprocessing window shows a blank white screen. macOS 26 tightened local network access permissions and now requires NSLocalNetworkUsageDescription in the app bundle's Info.plist to display a user-facing permission prompt instead of silently blocking localhost webview content.

Closes / supersedes #249.

Changes

  • cmake/modules/MacOSXBundleInfo.plist.in: add NSLocalNetworkUsageDescription string and NSBonjourServices array before NSAppTransportSecurity

Test plan

  • Build on macOS 26 — verify Print Preprocessing window shows content instead of blank white screen
  • Verify the system shows a local network permission dialog on first launch
  • Confirm existing macOS < 26 behavior is unaffected

…ebview blank tabs

On macOS 26 (Tahoe), the Print Preprocessing window showed a blank white screen
because macOS tightened local network access permissions. Add the required
NSLocalNetworkUsageDescription key and NSBonjourServices array so the system
presents a proper permission prompt instead of silently blocking the webview.
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