Internal two way syncing a folder does not properly handle file creation and deletion inside that folder
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
1. Select a folder with a few files inside the Nextcloud app and enable sync for it.
2. Wait for initial sync.
3. Modify a file in another app.
4. Wait for next sync, change will be uploaded.
5. Modify a file in the web interface.
6. Wait for next sync, change will be downloaded.
7. Add a new file in the web interface.
8. Wait for next sync, new file will be downloaded.
9. Add a new file in the synced folder on Android.
10. Wait for next sync, new file will NOT be uploaded.
11. Delete a file in the web interface.
12. Wait for next sync, file will not be deleted on Android.
13. Delete a file on Android.
14. Wait for next sync, file will not be deleted on the server.
### Expected behaviour
File creation and deletion should be handled properly on both ends of the synchronization.
### Actual behaviour
File creation and deletion do not always work as expected.
### Android version
15
### Device brand and model
Google Pixel 8
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
3.30.8
### Nextcloud server version
30.0.5
### Using a reverse proxy?
Yes
### Android logs
_No response_
### Server error logs
```bash
```
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.