[BUG] File as a folder when syncing
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 3.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Description
Steps to reproduce
- Add a txt file to the account
- In app, download the file and go back to the list of files (marked with green)
- In the web, modify the txt file and save it.
- In app, pull to refresh
- When the file is syncing (blue badge), click on it to open
Actual behaviour
I noticed two different behaviours (it's a bit random)
- File is handled like a folder showing
No files in here - File is marked as conflicted (might be related with https://github.com/owncloud/android/issues/4733 ¿?)
I caught a video with behaviour 1.
https://github.com/user-attachments/assets/7f238089-73a5-4992-a815-25aa1cd828a9
This is not an easy one to reproduce and it does not happen every time. That's bad.
For that reason, my suggestion to avoid such bad cases is "blocking" the file while the blue icon is there. It would apply only to files (a syncing folder can be browsed, but not the files that are being synced).
Reproduced with both oCIS and oC10, using the app version `v4.7.0'
Devices:
Xiaomi Redmi Note 13
Samsung Galaxy Tab A8
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
Start with the listed reproduction steps on the app version and devices described, testing both oCIS and oC10 while a modified file is syncing. Trace the file-opening behavior during the blue sync state and verify that a syncing file is blocked rather than shown as a folder or marked conflicted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100