Files
t3code/apps
Josh Gratton e2fde3c339 desktop: show connecting splash in WSL-only mode
In WSL-only mode the renderer is served by the WSL backend (distro IP),
so the main window cannot load until WSL has cold-booted. That left the
app with no window at all for several seconds after launch, which reads
as a hang.

Show a lightweight frameless "Connecting to WSL" splash window as soon
as bootstrap starts (gated on wslOnly + wslBackendEnabled), and dismiss
it the moment the real main window reveals. Dual mode opens fast off the
Windows primary, so no splash is shown there.

- DesktopWindow: add showConnectingSplash, tracked in its own
  splashWindowRef so currentMainOrFirst and createMainIfBackendReady
  never mistake the splash for the real main window; dismiss on reveal.
- DesktopApp bootstrap: trigger the splash before primary start when the
  persisted settings select WSL-only mode.
- Drop the now-unused DesktopState import left over from the
  backendReadyRef refactor.
2026-06-16 09:48:50 -04:00
..