Skip to content
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

Creating a new issue with keyboard only is disrupted by system dialog #6666

Open
danbunnell opened this issue Feb 22, 2025 · 0 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@danbunnell
Copy link

Problem

When creating a new issue, a NewIssue.md file is used as a form for the input. There is support for submitting this form via Ctrl/Cmd+Enter, which demonstrates a desire to allow the workflow to be keyboard-only.

However, once the form is submitted, a system dialog always appears asking if the user wants to save the changes made to NewIssue.md. This is a disruptive prompt that requires user to switch to the mouse from the keyboard.

Pressing Enter again to close the the system dialog is supposed to 'Save' the file, but it doesn't. This is the intended behavior. However, a no-op system prompt is confusing to the user and potentially disrupts their workflow if they are not aware that Enter will avoid creation of the file.

Image

Solution

It would be better if we could avoid the system dialog or use an alternate UI for the form if it is unavoidable.

Potential workaround:

  • Set skipSaveDialog=true in VS Code settings should avoid the prompt, but will disable prompts for all unsaved files which are closed causing potential data loss
@alexr00 alexr00 added the bug Issue identified by VS Code Team member as probable bug label Feb 25, 2025
@alexr00 alexr00 self-assigned this Feb 25, 2025
@alexr00 alexr00 added this to the March 2025 milestone Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants