ZIP: Browse does not traverse subdirectories
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
When selecting a ZIP in RetroArch there are two options:
"Load as Content" and "Browse"
In this issue I talk about "Browse"
Actual behavior
About "Browse": This fails to list anything in subdirectories. Actually when there is a subdirectory alphabetically before a file in the root nothing is found at all.
Example for ZIP layouts:
This finds nothing:
nope/
RPG_RT.ldb
vd1/RPG_RT.ldb
This finds RPG_RT.ldb:
RPG_RT.ldb
vd1/RPG_RT.ldb
This finds nothing:
vd1/RPG_RT.ldb
Expected behavior
Allow me to traverse subdirectories or at least list all matching candidates in subfolders!
Version/Commit
- RetroArch: latest (https://github.com/libretro/RetroArch/commit/b16f5265401236071c6c91fc7398f2ae56602324)
Environment information
- OS: Arch Linux, gcc
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Browse flow with the three ZIP layouts described, then trace the Browse entry point and ZIP candidate traversal. Confirm how directory entries affect matching and verify that files in subdirectories are listed or can be traversed without being skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100