Skip to content

webOS: fix Load Content not listing user files#15

Open
gprot42 wants to merge 2 commits into
webosbrew:webosfrom
gprot42:fix/webos-load-content-visibility
Open

webOS: fix Load Content not listing user files#15
gprot42 wants to merge 2 commits into
webosbrew:webosfrom
gprot42:fix/webos-load-content-visibility

Conversation

@gprot42

@gprot42 gprot42 commented Jul 9, 2026

Copy link
Copy Markdown

Summary

On webOS, Load Content often appears empty or does not open near user content:

  1. Extension filter defaults on — files are hidden unless they match the current core’s extensions
  2. Wrong default data pathsHOME / XDG_CONFIG_HOME under jailer often do not point at the app package
  3. No useful default content directory — browser start stays empty instead of internal storage / app config
  4. Drive list did not highlight app .config/retroarch or downloads

Changes

  1. config.def.h / configuration.c — Default “filter by supported extensions” off on webOS
  2. frontend/drivers/platform_unix.c — webOS config base = <app>/.config/retroarch; default menu content = /media/internal when present
  3. Drive list includes app config and downloads when they exist

Dependency

This branch includes the filesystem-root hang fix (first commit). Prefer merging the hang PR first, or merge this stack as-is (2 commits).

Test plan

  • Fresh config: Load Content shows a useful start location (/media/internal or app config)
  • Files visible without loading a core first
  • Filter can still be re-enabled in Settings → File Browser
  • Non-webOS defaults unchanged

gprot42 added 2 commits July 9, 2026 16:26
Under jailer, readdir/stat on / can stall the UI via /proc and /sys.
Do not offer "/" as a drive, redirect root back to the safe drive list,
and skip virtual FS nodes if root is enumerated.
Jail HOME/XDG paths often miss the app package; extension filtering
hides files when no matching core is selected. Point defaults at
package .config/retroarch and internal storage, disable extension
filter by default, and list app config/downloads in the drive list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant