Skip to content

Some folders shows on main #1187

Open
Open

Description

@Ineman

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.14.0

Affected Android/Custom ROM version

Android 14

Affected device model

Iplay 70 mini pro

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

When the "Group direct subfolders" option is enabled, I expected the main screen to show only the top-level parent directories containing image folders. However, it seems that some deeply nested leaf-node folders are randomly appearing on the main screen instead.
​After investigating, I figured out why this happens: if there is an intermediate directory along the path that contains no direct media files (only subfolders), the app extracts and promotes the deepest image-containing folder directly to the main screen.

Even if a folder path contains intermediate directories that only hold subfolders without direct files, I would prefer them to follow the standard hierarchical path rather than being independently popped out to the main screen.
​When dealing with dozens or hundreds of folders, having specific ones break out of the hierarchy like this makes them extremely difficult to locate.

Expected behavior

​1. Expected / Normal Behavior
​If the structure looks like this:

📂 external SD/
┗ 📂 Voice/
  ┗ 📂 01066971/
    ┣ 🖼️ img.jpg
    ┗ 📂 banner/
      ┗ 🖼️ mayo_100.png

The Fossify Gallery app correctly displays 'SD Card' on the main screen. When I tap on 'SD Card', the 'Voice' folder is shown, and tapping on 'Voice' reveals '01066971' along with numerous other folders.

Actual behavior

However, if the intermediate folder 333855 contains no files directly, and the image is located two levels down like this:

📂 external SD/
┗ 📂 Voice/
  ┗ 📂 333855/             <-- Contains NO files directly
    ┗ 📂 mp3/
      ┗ 🖼️ cover.jpg       <-- Image is here

This causes an issue. When I open the SD Card/Voice path from the gallery's main screen to find the image, the intermediate 333855 folder is missing, and the mp3 folder is independently promoted and displayed directly on the main screen instead.

Screenshots/Screen recordings

No response

Additional information

No response

Activity

  1. added
    bug
    needs triage
    on Oct 15, 2026
  2. marvinctl commented on Oct 15, 2026

    @marvinctl
    Member

    The same grouping problem with media-free intermediate folders is tracked in #150.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions