App panics with "cannot move state from Destroyed" on every system sleep, causing taskbar/hotkey outage until watchdog restarts it
Seelen UI version: v2.8.6.0 (installed via winget/MSIX) OS: Windows 10 Home 10.0.19045 WebView2: 154.0.4258.37
Description seelen-ui.exe crashes with a Rust panic every time the system enters sleep/standby. The SLU Service watchdog eventually detects the process is gone and restarts it, but until then the taskbar/bar disappears and the Win/Super hotkey falls through to the native Windows Start Menu instead of opening the Seelen quick-access widget.
Log excerpt (recurred 3x in 2 days, identical each time): [TIMESTAMP][ERROR][seelen_ui::logger] A panic occurred: Cause: cannot move state from Destroyed Location: .../tao-0.35.2/src/platform_impl/windows/event_loop/runner.rs:371:25
Correlation Each panic occurs ~10-13 seconds before a Kernel-Power Event ID 109 (system sleep transition) in the Windows System event log — consistently, across all 3 occurrences. This strongly suggests the tao event loop receives a late/queued window message during the display/window teardown that happens on sleep entry, hitting the known upstream issue tauri-apps/tao#1180.
Impact Recovery time depends entirely on how long the machine stays asleep — observed gaps between crash and watchdog-detected restart ranged from ~20 seconds to ~2.5 hours.
Suggestion
- Consider wrapping the tao event loop shutdown path in a panic hook that swallows this specific "cannot move state from Destroyed" panic instead of crashing the whole process (tracked upstream in tao).
- Alternatively, have SLU Service listen for a system resume/wake event to trigger an immediate health check instead of relying purely on its normal poll interval.
Source: eythaann/Seelen-UI