zhanghai / zhanghai/MaterialFiles

the app crashes when copying or cutting paste a large (video) file

Open
#1,078 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Noticed using currently with android 12 AOSP, but it was identical with android 11 AOSP. Only noticed with Material Files 1.6.2 because i didn't install the app before.

Steps to reproduce:

The error noticed most often occurs when copying and pasting or cutting and pasting a large video file (for example 1GB but it can be much less size) from the internal memory to the micro SD card. I don't know if it occurs if the operation is done from internal memory to internal memory.

The file is partially pasted and then the app suddenly crashes during operation.

Sometimes the app crashes after the paste operation is completed.

For very small files (eg 20 MB) the app rarely crashes.

When copy-pasting or cutting-paste progresses, I notice a slight jitter of the names of all the files in the destination directory.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the copy or cut operation with a large video from internal storage to a micro SD card on Android 11 or 12, and capture the crash details. Compare partial and completed pastes, including the destination-directory jitter; done means large-file operations complete without a crash or visible corruption.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.