golota60 / trayasen

🥕 IKEA IDÅSEN cross-platform desktop app living in system tray. Should also work for LINAK desks
MIT License
27 stars 1 forks source link

feat: close not hide #34

Closed golota60 closed 11 months ago

golota60 commented 11 months ago

revert of https://github.com/golota60/trayasen/pull/31

turns out, hiding windows doesn't solve anything either, as there's no rust callback to notify about a window being hidden. This could've been solved by creating a custom rust command to handle the callback, but hiding windows has already been a workaround, and making a workaround on top of a workaround, is one level too deep for me.

If closing really turns out to be unsalvageable, i'll revert back to hiding. If it comes to that, i'll also need to do some perf tests on hiding vs closing, as we do not want to consume too much of end users' memory