mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-12-03 03:29:51 +00:00
Opening the settings window from the popover's More menu did nothing, and switching the Capacity Dock off and on from the settings window left the rail gone until the next launch. Same cause both times: a synchronous Tauri command runs on the main thread, and building a window from there waits on the event loop that is already busy running the command, so the build never completes and the caller never sees an error either. The tray menu path worked throughout because its handler is the event loop rather than a command. Both commands that create a window are async now, which puts them on the async runtime where the build is dispatched and answered. Two things underneath that made the dock case worse. `hide` closed the window, which only asks: the window leaves the manager some time later, so a quick off and on found the dying window still under its label and merely re-showed it. It is destroyed now. And `show` reset the layout state only on the branch that built a window, while `relayout` moves the window only when the frame it computes differs from the stored one, so a reused window kept a stale frame and sat at its builder size in the corner. The reset now covers both branches. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||