Hi Quinn,
I completed the TextEdit comparison on macOS 26.6.2.
Both tests used the same Apple Development-signed sandboxed app and the same NSWorkspace opening method.
A (temporaryDirectory): The original text file was updated successfully after editing and pressing Command-S. Its size changed from 33 to 40 bytes.
B (container Documents): The original text file was also updated successfully. Its size changed from 33 to 39 bytes.
In both cases, the original file's content, SHA-256, and modification time changed. The one-byte difference is due to a trailing newline in A.
Unlike the earlier PNG/Preview tests, TextEdit successfully saved changes to the original files in both locations.
The earlier Preview test used Rotate Left without explicitly pressing Command-S, whereas this TextEdit test used Command-S.
This suggests that the temporary directory alone does not explain the issue, although the file type, application, and save behavior also differ.
What would you recommend investigating next?
Thank you!
Topic:
App & System Services
SubTopic:
Core OS
Tags: