[[CRASH report] Crash if you sort by size, and with no folder directory sort mode

Open
#4,766 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 7 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by reproducing the crash with the reported steps: create nested folders, sort the download folder by Size, and set Directory Sort Mode to “None On Top.” The report names no source files or tests, so trace the sorting behavior from the relevant app entry point. Done means the app remains usable and does not crash in this scenario.

Written by the indexing model from the issue text.

Description

Describe the bug
App crashes and becomes inutilizable unless u clear app data.

To Reproduce
Steps to reproduce the behavior:

  1. Create a folder, then click it
  2. Create another folder within that folder
  3. You sort the download folder by Size, and then you have to set Directory Sort Mode to "None On Top"

Expected behavior
no crash

Screenshots
just follow the steps, it easy

Smartphone (please complete the following information):

  • Device: huawei p8 lite
  • OS: Android 8
  • Rooted: No
  • Version: 3.11.4

Additional context
Add any other context about the problem here.

Dominant language
Kotlin
Stars
6.5k
Forks
1.7k
Avg merge
1d 21h
Merged PRs (30d)
4

Getting set up

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.

More from TeamAmaze/AmazeFileManager

All issues in TeamAmaze/AmazeFileManager

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.