-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shutdown confirmation window #1710
Comments
How does one quit acciddentally when you have to click minimum 2 times in order to shutdown this program? |
Explanation is rather easy and obvious. Above shutdown button there are 2 more of them. I wanted to press restart, but my right hand at this exact moment twitched involuntarily, I pressed shutdown button and it was an immediate end for ASF. I strongly believe this issue should be addressed, and exit confirmations could be off in ui settings by default, so most users won't need to configure ui in this regard, but those users, who want exit confirmations, will turn it on. |
Another case is that user can simply missclick on shutdown button and then ASF will be closed right away as well. |
Did anything break after you started ASF again? Was ASF working on any long-running non-resumable job when it quit? Or was there are any data stored in memory which got wiped the moment it exited and you lost the progress because it did not save on exit? If any data loss has occurred, I suggest reporting this to ASF repo as exit command should exit gracefully allowing all processes to save to disk to avoid data loss. |
This issue is about preventing unwanted accidental exits, not about what's going after such exits. |
I am attempting to determine whether exiting after the user clicks a button is a bug or a feature. If an action is non-destructive, such as pressing "Comment" button here on GitHub, there is no reason to double check user intention. Double checking is reserved for destructive actions which can not be easily undone. Have you suffered any considerable damage as a result of exiting ASF via dedicated button in the UI? |
It's already a feature. Users click on buttons and something happens.
Only for destructive? Why?
I could redeem lots of keys, or ASF could download an update, maybe ASF would exit during installing an update idk, or I could transfer items, I think ASF can do many things during which false exits would be unwanted. This was not the 1st time when I mistakenly pressed shutdown button. I suggested such confirmation can be optional in ui settings and be off by default, personally I would turn it on. |
Checklist
Enhancement purpose
I just accidentally pressed on Shutdown button in ui and ASF was shut down immediately.
To prevent such accidental and unwished exists, ui could ask user if he really wants to exit, with a dialog like this:

Also an extra UI setting "Confirmation on exit" would be handy to have too.
The text was updated successfully, but these errors were encountered: