Skip to content

🐞 File Saving Throwing "Modified By Another Program" Error #2033

Description

@shpatter

Description

I can't save the file with either the save button or the shortcut. Only when I exit the application does it say that the file was modified by another program, even though it wasn't modified by another program, and then it suggests saving.

To Reproduce

  1. Go to file
  2. Change something
  3. Try to save

Expected Behavior

this is supposed to save the changes to the file

Version Information

CodeEdit: 0.3.4-alpha (45)
macOS: 15.4.1

Additional Context

No response

Screenshots

No response

Activity

  1. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Apr 25, 2025
  2. thecoolwinter commented on Apr 25, 2025

    @thecoolwinter
    Collaborator

    There appears to be something wrong with autosave and saving files. I suspect the error mentioned has something to do with it.

  3. changed the title [-]🐞 Can't save the file.[/-] [+]🐞 File Saving Throwing "Modified By Another Program" Error[/+] on Apr 25, 2025
  4. thecoolwinter commented on Apr 25, 2025

    @thecoolwinter
    Collaborator

    Another note, it appears that errors thrown by the autosave are being logged but not handled. The noted error message when exiting may be due to that being the first the CodeFileDocument.save was called.

  5. moved this from 📋 Todo to 🏃‍♂️ In Progress in CodeEdit Projecton Jun 23, 2025
  6. moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Projecton Jun 24, 2025
  7. added a commit that references this issue on Jun 24, 2025
    6619d16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions