Prompt to reload file when saving to cloud synced locations
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Description
Whenever I save a file to a folder inside iCloud Drive, which uses Windows cloud sync API, Marktext prompts to reload the file. Sometimes clicking okay causes the changes to the file to vanish, other times it doesn't do anything. Anyway it is annoying and I would fix it myself if I had the skills.
Steps to reproduce
- Save a file to a cloud synced location
- Edit the file
- Save the changes
Expected behavior:
The changes are saved to disk and nothing happens.
Actual behavior:
After the changes are applied, a prompt appears saying ""filename.md" has been changed on disk. Do you want to reload it?" If you click ok, changes may be lost or not, don't know depending on what (usually they are kept).
Versions
- MarkText version: v0.17.1
- Operating system: Windows 11 Pro 23H2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce on Windows 11 with a file in an iCloud Drive folder, then trace the save and reload prompt behavior; done means saving edits does not prompt for a reload and the changes remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100