openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Minimize to system tray when closing the Windows app

Open iamrhn opened this issue 6 months ago • 1 comments

Summary

Would be nice if closing the app on Windows minimized it to the system tray instead of fully exiting.

Context

Right now, fully closing the app can feel a bit inconvenient if someone wants to reopen it quickly. It adds an extra step every time they need it again.

Suggestion

Make closing the app send it to the system tray on Windows instead of quitting completely. Could also be good to make this optional in settings so people can choose between tray minimize and full close.

Goals

-Closing the app on Windows sends it to the system tray -The app is easy to reopen from the tray -Tray behavior can be turned off in settings if needed

iamrhn avatar May 11 '26 22:05 iamrhn

Implemented in https://github.com/tinyhumansai/openhuman/pull/1583 — adds a #[cfg(target_os = "windows")] arm to the CloseRequested handler that mirrors the existing macOS behavior. Tray left-click already restores the window.

mvanhorn avatar May 12 '26 22:05 mvanhorn