Fix Texpad OneDrive 'File Changed by Another Application' Error on macOS
Question details
The user needs to prevent Texpad on macOS from misreporting external file changes for LaTeX files stored in a OneDrive-synchronized folder.

- Product
- Texpad for macOS with Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- Editing and compiling LaTeX files in Texpad when the project is stored inside a OneDrive-synchronized folder.
- Observed behavior
- Texpad reports that the LaTeX file was changed by another application, often during OneDrive synchronization or Files On-Demand access.
Before changing OneDrive or Texpad settings, save a copy of the active LaTeX project outside the OneDrive folder and check whether the files show a cloud-only icon in Finder.
Pause OneDrive synchronization while editing in Texpad
Use this when you are about to edit or compile a LaTeX project and want to prevent OneDrive from changing files mid-edit.
Click the OneDrive cloud icon in the macOS menu bar, then open Help & Settings or the gear menu.
Select Pause syncing and choose 2, 8, or 24 hours so OneDrive remains paused during your full editing session.
Return to Texpad, open the LaTeX file from the OneDrive folder, edit, and compile as usual.
After Texpad has saved all changes, click the OneDrive menu bar icon again and choose Resume syncing.

Turn off OneDrive Files On-Demand for the affected folder
Best when files are shown as cloud-only in Finder and Texpad cannot read them reliably.
Confirm Texpad support and keep a local working copy
Use this if the error continues after adjusting OneDrive or if you need a reliable backup for active work.
Try WPS Office for Local Editing Without OneDrive Sync Conflicts
If OneDrive synchronization interferes with your current editing workflow, WPS Office is a free, lightweight Microsoft Office alternative that opens and saves Word, Excel, PowerPoint, and other document formats with a familiar Office-style interface.
- 1. Download and install WPS Office: Get WPS Office from the official WPS website and follow the installer prompts for macOS or Windows.
- 2. Open your documents locally: Launch WPS Writer, WPS Spreadsheet, or WPS Presentation and open files from a local folder instead of a OneDrive-synced location.
- 3. Save in Microsoft-compatible formats: Use Save As to keep files in .docx, .xlsx, or .pptx format so they remain compatible with Microsoft Office and OneDrive.

Frequently Asked Questions
Why does Texpad show “file changed by another application” when using OneDrive?
OneDrive synchronization or Files On-Demand can replace or re-download a file while Texpad is reading and writing it, making Texpad think the file changed externally.
Does disabling Files On-Demand stop Texpad file conflict errors?
In many cases yes. Turning off Files On-Demand keeps the full file locally available, so OneDrive does not re-download or hydrate it during an active Texpad session.
Can I edit a LaTeX file directly from a OneDrive-synced folder in Texpad?
It may work when sync is paused or Files On-Demand is disabled, but check Texpad support to confirm that direct read/write to OneDrive folders is fully supported.
Should I pause OneDrive or disable Files On-Demand for long editing sessions?
Pause OneDrive for a fixed time during active editing and compilation. If the issue recurs, turn off Files On-Demand for the affected folder.
How do I back up Texpad projects when using OneDrive?
Keep the active project in a local folder outside OneDrive while editing, then copy the saved version back to OneDrive when you are finished.




