SubEthaEdit icon indicating copy to clipboard operation
SubEthaEdit copied to clipboard

Respect system preference "Close windows when quitting app"

Open andyvn22 opened this issue 4 years ago • 2 comments

If the system preference "Close windows when quitting app" is enabled (in the General pane), SubEthaEdit should prompt on quit to save a dirty document, rather than persisting it between launches.

andyvn22 avatar Mar 28 '22 19:03 andyvn22

Well, the difference here currently is subtle. Due to a user request we do persist untitled documents no matter what since 5.2.2 - If you feel strongly against that we could add an additional option to the prefs to disable that behavior again. But It is quite handy for those temporary things we use it for, e.g. piping stuff in through the see tool or just command-n and paste for some temporary things we want to have around for a while.

BBEdit even has a special feature to give those things meaningful names to keep around for a while.

monkeydom avatar Apr 03 '22 09:04 monkeydom

This is potentially a serious privacy/security concern since a user might temporarily type/paste sensitive information and then quit SubEthaEdit, without knowing that the sensitive data has been saved.

So it would be great if there was an option for the user to disable the autosave/persistence behavior and have SubEthaEdit respect the macOS system settings.

gothic-bum avatar Nov 08 '22 08:11 gothic-bum