zhanghai / zhanghai/MaterialFiles
[BUG] MaterialFiles ERROR SAVE (rewrite) file ON SDCARD if file exist ;(
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
MaterialFiles ERROR SAVE (rewrite) file ON SDCARD if file exist ;(
Android 12
MaterialFiles 1.7.4 (39)
Reproduce bug:
- in fdroid 3dot and click share apk
- select folder icon MaterialFiles (Save)
- select folder on SDCARD and click save
- get first error
- press repeat button and get next error
- press dissmiss (cancel) button
If after press dissmiss (cancel) button we try again share apk from fdroid to SDCARD, then file saved success, but next try be fail:
1st try fail, press dissmiss (cancel) button;
2st try saved ok;
3st try fail, press dissmiss (cancel) button;
4st try saved ok;
5...fail;
6...etc
This very OLD BUG that very ...
Save file on internal storage ok, only save (rewrite exist file) on sdcard have problem (1 ok 1 fail).
Contributor guide
No contributing guide indexed for this repository
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 share-to-save flow on Android 12 with MaterialFiles 1.7.4, comparing an existing file on an SD card with the same operation on internal storage. Trace the save and overwrite handling from the share flow; done means repeated saves reliably handle an existing SD-card file without alternating errors or requiring dismissal.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100