TeamAmaze / TeamAmaze/AmazeFileManager
Incorrect folder and file count despite visible folders
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
The count shows '0 folders and 0 files' despite visible files and folders, indicating a mismatch.
To Reproduce
Steps to reproduce the behavior:
- Open the file manager app.
- Navigate to a directory with visible folders.
- Click one of the SMB connection entries.
Expected behavior
The folder and file count should reflect the actual number of visible directories and files.
Screen Recording
https://github.com/user-attachments/assets/51485a04-791a-4275-928c-e97881b02742
Smartphone (please complete the following information):
- Device: [Google Pixel 5]
- OS: [Android 14]
- Rooted: [No]
- Version: [3.10]
Additional context
- After the loading spinner disappears, clicking the ‘CANCEL’ button on the ‘SMB Connection’ dialog still results in the count displaying ‘0 folders and 0 files’, even though files and folders are visible.
- The correct count appears only after performing a pull-to-refresh.
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 by reproducing the issue in the file manager on Android 14 using an SMB connection, following the listed steps and checking the count after cancelling the SMB Connection dialog. Compare that result with pull-to-refresh, which currently produces the correct count. Done means visible folders and files are counted correctly without requiring a refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100