First close: ask "keep running in the tray?" instead of silently minimizing #5

Open
opened 2026-09-17 15:43:35 -04:00 by jared · 1 comment
Owner

Today closing the window always hides to the tray. The first time a user closes it, ask once: "Keep Lotus Chat running in the background for calls and notifications?"Keep running (default) / Quit when I close. Remembered; changeable in Settings → General → Desktop ("When I close the window: Minimize to tray / Quit").

Notes

  • Store the choice on the web side (device-local setting, closeToTray), pass to the Rust close handler via an existing bridge (set_* command on change + on startup) so the native on_window_event(CloseRequested) knows what to do without a round-trip.
  • If a call is active, always minimize to tray regardless (and say so in the prompt copy).
Today closing the window always hides to the tray. The first time a user closes it, ask once: **"Keep Lotus Chat running in the background for calls and notifications?"** — *Keep running* (default) / *Quit when I close*. Remembered; changeable in Settings → General → Desktop ("When I close the window: Minimize to tray / Quit"). ### Notes - Store the choice on the web side (device-local setting, `closeToTray`), pass to the Rust close handler via an existing bridge (`set_*` command on change + on startup) so the native `on_window_event(CloseRequested)` knows what to do without a round-trip. - If a call is active, always minimize to tray regardless (and say so in the prompt copy).
jared added this to the Desktop 2026-Q4 milestone 2026-09-17 15:43:35 -04:00
jared added the enhancementpriority: lowarea: tray labels 2026-09-17 15:43:35 -04:00
jared self-assigned this 2026-09-17 15:43:35 -04:00
Author
Owner

Also approved 2026-09-17: ask launch at login in the same first-run moment as the tray question, so both background questions are asked once, together ("Start Lotus Chat when you sign in?" default off; toggles the existing autostart plugin). Keep it to that one dialog — no wizard.

Also approved 2026-09-17: ask **launch at login** in the same first-run moment as the tray question, so both background questions are asked once, together ("Start Lotus Chat when you sign in?" default off; toggles the existing autostart plugin). Keep it to that one dialog — no wizard.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny-desktop#5