Closed runxel closed 1 month ago
Thanks for the report.
This is absolutely an oversight on my part. 😳
You might wonder how I could miss this? Well, I have my Mac set to remember and restore the windows of any app that are open when it is closed. This basically gives you permanence for free. I've had my system set this way for so long I forgot that it's not the default. 🤦♂️
I'll add prompt to save in the next version.
And I just added this tip to the blog post:
System Preferences > Desktop & Dock > Windows > Close windows when quitting an application = OFF
Then leave the windows of an app open as you quit it. When you next launch the app its windows will restore to their previous size and position. If you close the windows first, then the app will restore to having no windows open.
Currently my workaround is to just save the files when you quit. Not ideal.
Will try a better approach before I launch 1.1.0
Solved in 1.1 https://github.com/gingerbeardman/stapler/releases/latest
If you're still having related issues, feel free to comment here.
When you (accidentally) close Stapler there should be a warning dialog so you can save the stapler doc and not lose your work.