zhanghai / zhanghai/MaterialFiles
MF to stop generating thumbnails when app loses focus.
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
Issue:
Let say you use MF to navigate to a folder with 30 movies and then you open one for watching it. While you are watching the movie MF is in the background generating icons for the rest of the 29 movies.
If the movie is in a remote machine, creating thumbnails in the background causes stuttering while watching the movie, specially on slow connections.
I noticed this while debugging my https://github.com/aguaviva/sftp-documents-provider project :) This affects your network connections too.
Work around:
To disable the thumbnail creation
Desired fix:
To stop generating thumbnails when MF loses focus
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
No file, test, or entry point is named in the issue. Trace thumbnail generation and the Android app focus lifecycle, then verify that generation pauses when MaterialFiles loses focus and resumes appropriately without causing remote playback stuttering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100