Skip to content

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

@danbunnell

Description

@danbunnell

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions