Folders with no files are missing the parent directory item in grid layout

Open Beginner friendly
#4,769 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 7 days

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the grid layout code that renders the parent directory item, then compare its behavior in an empty folder with the list layout. Reproduce the issue with “navigate to parent button as item” enabled and check that the parent item appears in grid layout for an empty folder, as it does in list layout.

Written by the indexing model from the issue text.

Description

Area-UIUX Issue-Bug Issue-Easy (good first issue)

Describe the bug
Folders with no files are missing the parent directory item in square layout.

To Reproduce
Steps to reproduce the behavior:

  1. Set navigate to parent button as item
  2. Set grid layout
  3. Go to an empty folder

Expected behavior
It should be present, as it is for list layout.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Moto G73 5G
  • OS: Android 14
  • Rooted: No
  • Version: 3.11.4
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.