TeamAmaze / TeamAmaze/AmazeFileManager

Incorrect folder and file count despite visible folders

Open
#4,310 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Issue-Easy (good first issue) Issue-Task (low)
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:

  1. Open the file manager app.
  2. Navigate to a directory with visible folders.
  3. 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

  1. 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.
  2. The correct count appears only after performing a pull-to-refresh.

Contributor guide

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.