Skip to content

Fix MMLaunch blank-window-until-input bug via software rendering#85

Merged
jmquigs merged 1 commit into
masterfrom
claude/vibrant-keller-jamgpr
Jun 12, 2026
Merged

Fix MMLaunch blank-window-until-input bug via software rendering#85
jmquigs merged 1 commit into
masterfrom
claude/vibrant-keller-jamgpr

Conversation

@jmquigs

@jmquigs jmquigs commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Since the Avalonia port, MMLaunch windows (most visibly the main launcher) intermittently render a blank first frame and only paint once an input event arrives (e.g. pressing Tab). This is the known Avalonia 11 GPU compositor first-frame present race: the window's initial composition batch is not presented until input/resize wakes the dispatcher.

Force the Win32 software renderer in buildAvaloniaApp. It composites synchronously and blits the frame, sidestepping the GPU present race, and fixes the main window and all dialogs from a single place. No meaningful downside for this lightweight launcher (simple controls plus a tiny wireframe preview).

No interop wire-protocol change, so no native code version bump.

https://claude.ai/code/session_011NaH7ygtYD6ua1R8fKrFZ1

Since the Avalonia port, MMLaunch windows (most visibly the main launcher)
intermittently render a blank first frame and only paint once an input event
arrives (e.g. pressing Tab). This is the known Avalonia 11 GPU compositor
first-frame present race: the window's initial composition batch is not
presented until input/resize wakes the dispatcher.

Force the Win32 software renderer in buildAvaloniaApp. It composites
synchronously and blits the frame, sidestepping the GPU present race, and fixes
the main window and all dialogs from a single place. No meaningful downside for
this lightweight launcher (simple controls plus a tiny wireframe preview).

No interop wire-protocol change, so no native code version bump.

https://claude.ai/code/session_011NaH7ygtYD6ua1R8fKrFZ1
@jmquigs jmquigs merged commit 8f7c613 into master Jun 12, 2026
1 check passed
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.

2 participants