Skip to content

Open Settings without freezing on Windows - #11

Merged
tw4 merged 1 commit into
mainfrom
fix/settings-deadlock
Nov 11, 2026
Merged

tw4 merged 1 commit into
mainfrom
fix/settings-deadlock

Conversation

@tw4

@tw4 tw4 commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Closes #10.

open_settings was a synchronous command that builds the Settings webview window. Synchronous commands run on the main thread, and creating a window there deadlocks on Windows (WebView2 needs that thread): white window, frozen app. Making the command async runs it off the main thread, the same way start_capture already creates the capture overlay. The tray menu path was not affected.

open_settings was a synchronous command that builds a webview window.
Synchronous commands run on the main thread, and creating a window there
deadlocks on Windows: the Settings window stayed white and the app froze.

Closes #10
@tw4
tw4 merged commit f6895f7 into main Nov 11, 2026
9 of 10 checks passed
@tw4
tw4 deleted the fix/settings-deadlock branch November 11, 2026 08:07
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.

Windows: Settings window stays white and the app freezes

1 participant