-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Always prompt when exiting #7129
Conversation
Change the name of `CloseWarningDialog` to `CloseAllWarningDialog` and the new dialog (alwayswarn) will be refered as `CloseWarningDialog`.
If this merges, I will add a commit to #7077 for always warn on tab close |
New misspellings found, please review:
To accept these changes, run the following commands
✏️ Contributor please read thisBy default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The :check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
|
I think "exit" should be used instead of "quit" |
@AnuthaDev or even "Close"? Since the multiple tab warning uses close |
Sure :) |
Please merge this asap, it is very annoying when clicking close accidentally on a running program or session |
This can be of great help. Looking forward to its being released. |
Will this be ready in the next release? |
Nope. We'll make sure to update this thread when there is. The real issue here is that we need to figure this setting out. There's a long thread over in #6549 with a breakdown of how the options should work. It needs to be socialized with the rest of the team, preferably in a formal spec, to make sure we've got the options covered. I'd recommend subscribing to that thread. |
Thank you so much for working on this draft work! We've chosen to take the project in a slightly different direction, and make sure that this feature is fully specified before we commit to it since it's deeply related to the other pane/tab/window closing work in your other PR. |
Summary of the Pull Request
Add a setting with default as false. If it is true, then there will be a warning when exiting
References
Closes #2976 and addresses #6549 (comment).
PR Checklist
Detailed Description of the Pull Request / Additional comments
Change the name of
CloseWarningDialog
toCloseAllWarningDialog
to avoid confusion and the new dialog (always warn) will be referred to asCloseWarningDialog
.Validation Steps Performed
Manual tests