TeamAmaze / TeamAmaze/AmazeFileManager

Sort by size doesn't work on folders

Open
#2,318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-UIUX Issue-Bug
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Describe the bug
A clear and concise description of what the bug is.
When I open the app and my folders(not files) are on display, when I choose from the 3 dots (up and right corner) sort ->sort by->size and I choose either ascending or descending, the result doesn't change.
To Reproduce
Steps to reproduce the behavior:

  1. Choose Sort
  2. Click on Sort by Size
  3. Choose Ascending, see the results
  4. Choose Descending, see the results
  5. Compare.

Expected behavior
A clear and concise description of what you expected to happen.
The folders should be sorted by size.

Screenshots
https://www.dropbox.com/s/nokwfz5hivyjiye/videorecord.mp4?dl=0

Smartphone (please complete the following information):

  • Device: Lenovo Z6 Pro
  • OS: Android 9
  • Rooted: [e.g. No]
  • Version: 11.0.405 ST

Additional context
Add any other context about the problem here.

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 Android app using the reported Sort by Size ascending and descending steps with folders displayed. Trace the folder sorting path and verify that ascending and descending orders differ and match folder sizes.

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.