CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Cannot save file when opened as folder

Open avinizhanov opened this issue 2 years ago • 1 comments

Description

Cannot save file if I open folder. The document “Test” could not be saved.

In error it shows name of folder, I think it tries to save folder instead of file.

Screenshot 2023-10-13 at 8 24 54 AM

It saves fine if I just open single file.

Screenshot 2023-10-13 at 8 26 34 AM

To Reproduce

  1. Open folder
  2. Select file in navigator area
  3. Modify file
  4. CMD+S or in menu File -> Save
  5. Error: The document “Test” could not be saved.

Expected Behavior

File saves without error.

Version Information

CodeEdit: main branch macOS: 14.0 Xcode: 15.0

Additional Context

No response

Screenshots

No response

avinizhanov avatar Oct 13 '23 13:10 avinizhanov

This happens if "New Windowing System" is on

Screenshot 2023-10-13 at 9 59 07 AM

avinizhanov avatar Oct 13 '23 15:10 avinizhanov