Private
Public Access
0
0
Files
manual_slop/tests
ed d02c6d569c test(tests): TDD for test_execution_sim_live GUI subprocess crash (failing test)
Captures the structural root cause of the test_execution_sim_live
failure: src/gui_2.py:render_response_panel calls imgui.set_window_focus
directly during the render frame. On Windows, the GUI subprocess main
thread has only 1.94 MB of stack; the focus call exhausts it and
crashes the GUI with 0xC00000FD = STATUS_STACK_OVERFLOW.

This test enforces the fix's contract: the render body must NOT call
imgui.set_window_focus directly; it must defer the call via a
_pending_focus_response flag to the next frame's idle phase. Mirrors
the existing _autofocus_response_tab pattern at gui_2.py:5353-5356.

Test currently FAILS on this commit. Will pass after the fix in
src/gui_2.py:render_response_panel and the deferred handler in the
main render loop.
2026-06-18 14:43:27 -04:00
..