Skip to content

secondary-window: Respect autoSave #11646

@lucas-koehler

Description

@lucas-koehler

Feature Description:

The issue tracks a known limitation from #11048 that webviews (esp. custom editors) in secondary windows do not respect the autoSave option.

Steps to Reproduce:

  1. start the browser-app with the custom-editor-sample extension
  2. start the application with exampleFiles as a workspace
  3. ensure that autoSave is off
  4. open example.cscratch
  5. add/remove entries in the file - confirm the file is dirty and closing the file prompts users
  6. open example.cscratch in a secondary window
  7. add/remove entries in the file - no visual indicator that the file is dirty
  8. attempt to close the dirty window - the window is closed, and a dialog appears after the fact in the main window (related secondary-window: Open dialogs in the secondary window #11647)
  9. if you use cancel in the dialog the file can never be re-opened unless the app is restarted.
Screen.Recording.2022-09-19.at.8.12.17.AM.mov

Metadata

Metadata

Assignees

Labels

secondary-windowissues related to multi or secondary window support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions