coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.49k stars 432 forks source link

Cannot save Notes.app’s attachments #1752

Closed kusazh closed 3 weeks ago

kusazh commented 3 weeks ago

Description

Add a text file as an attachment to Apple’s Notes.app, then double-click to open it with CotEditor. In this case, the opened file cannot be saved (it will prompt to “Save As”).

However, if I locate this file directly in Finder and open, I can save it without issues.

To Reproduce

  1. Double-click an attachment in Notes.app
  2. Press cmd+S (Save)

Expected behavior

No response

CotEditor version

5.0.3

macOS version

Sonoma 14.7.1

Additional context

No response

1024jp commented 3 weeks ago

When double-clicking an attachment text file in Notes, it passes not the actual file but a temporal file without writing permission to CotEditor. So, CotEditor can nothing to do.