Launcher.bat window becomes unresponsive when file logging is disabled #3175
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#3175
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ValueXu on GitHub · 2026-12-02 16:30 UTC · original
What happens
When I start the game with “Log to a file (-Log)” unchecked, the game starts but the launcher window stops responding to clicks.
Commit
3c106eb2fSystem
Windows 11 26H2 (build 26300.10075), Intel Core i5-11600KF, NVIDIA GeForce RTX 4070 Ti (driver 617.14)
Where
A tool run by hand (tools/, scripts/)
Command and steps
This happens every time I start the game with file logging disabled. If I enable “Log to a file (-Log)” and repeat the same steps, the launcher stays responsive.
Output
@ValueXu on GitHub · 2026-12-02 16:41 UTC · original
A diagnosis from Codex might be helpful:
WithLog to a file (-Log)unchecked, the runtime's stderr goes through the launcher's output pipe. Intools/leonida_launcher.py, the reader runs on a background thread, butpump()drains the entire queue on the Tk UI thread. For every line, it updates the text widget and scrolls to the end. While that callback is running, Tk cannot process clicks or repaint the window. With 30,000 synthetic lines queued, a UI callback scheduled for 1 ms later ran after **65 seconds** on the original code.@MoonEyes on GitHub · 2026-12-02 21:27 UTC · original
Open PR #3192 addresses this: the launcher's output pump now takes a bounded batch per turn so the window keeps answering with -Log off. AI-assisted (Claude Code).