microsoft / microsoft/vscode

Bad UX when auto-save is on (all but "off")

Open
#324,300 0 comments 0 reactions 1 assignee Claimed by @amunger View on GitHub
bug editor-input
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

- VS Code Version: 1.127.0
- OS Version: Windows 11

Steps to Reproduce:

- With `afterDelay` set to `5000` ms.
The confirmation dialog does not block the auto-save timer.

Image

- With `onFocusChange`.
No confirmation dialog spawns as the focus is incorrectly lost when clicking the close button.

Image

Both these behaviors are counterintuitive in my opinion and lead to misunderstandings.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.