Commit Graph

2 Commits

Author SHA1 Message Date
348895eb7e Streamline repro_gioui_hang.sh
Shorter header (bug in two lines), one combined emulator wait loop,
am start -S replaces the separate force-stop, fewer section comments.
Same behavior: verified REPRODUCED (exit 0) on the emulator.
2026-10-13 16:57:46 -04:00
8bb5038cdb Add standalone repro for the gioui activity-recreate hang
scripts/repro_gioui_hang.sh builds the stock gioui.org/example 'hello'
app (v0.10.3, unmodified source), installs it on an emulator, recreates
the activity with a real uiMode toggle, and checks for NO_INPUT_CHANNEL
after a tap. Exit 0 = bug reproduced, 1 = clean, 2 = setup failure.

The bug: gioui v0.10.x app/os_android.go onCreateView#2 sends the
window-creation ack (mainWindow.windows <- struct{}{}) on the UI thread
with no receiver (Window.init never re-runs on Android), blocking the UI
thread forever -> no input channel, black unresponsive app. The fix
lives in our gioui fork (only send the ack on first window creation).
2026-10-12 17:44:58 -04:00