MerginMaps / MerginMaps/qgis-plugin
Windows/OneDrive: "Remove locally" fails with "Access denied" — project not deleted from OneDrive-synced folder
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 20
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Description
Description
On Windows, when a project is stored in a OneDrive-synced folder, choosing "Remove locally" in the MerginMaps QGIS plugin removes it from the plugin browser (state changes from Downloaded to Available on cloud) but the files are not actually deleted from disk. An "Access denied" error is shown and the project remains present in the OneDrive folder.
Environment
Staging/Prod
Application (+ app version, build, operating system)
- OS: Windows (observed on Windows)
- MerginMaps QGIS plugin: build Mergin113211 (also reproducible on a released version)
Steps to reproduce
- On Windows, ensure OneDrive sync is enabled and choose a local folder inside OneDrive (e.g., OneDrive/Documents/YourProjectFolder).
- In merginmaps plugin download a project into that OneDrive-synced folder.
- Open this project
- Right-click the project and select "Remove locally".
Actual results
- The plugin updates the project state in the browser from Downloaded to Available on cloud.
- The underlying project folder/files remain on disk in the OneDrive location.
- An error is shown: "Access is denied".
- The project is still visible in OneDrive (and not deleted from the file system).
Expected results
- The local project folder and files are deleted from the OneDrive-synced location without errors, or the plugin gracefully handles OneDrive locks by retrying and/or informing the user how to proceed.
Screenshots or logs
Conclusion
Created by GitHub Copilot and supervised by a human test analyst.
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
Reproduce the issue on Windows with a project stored in a OneDrive-synced folder, following the listed download, open, and “Remove locally” steps. Trace the plugin’s Remove locally handling and verify that the local project folder is deleted without an Access denied error, or that the OneDrive-lock case is handled with a clear retry or user-facing message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100