Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Save Controller Profile' falsely reports successful save when no modifications have been made #16769

Open
davidhedlund opened this issue Jul 9, 2024 · 0 comments

Comments

@davidhedlund
Copy link
Contributor

RetroArch's default configuration file (retroarch.cfg) specifies "/app/share/libretro/autoconfig" as the joypad autoconfig directory. However, in the Flatpak environment, this path actually corresponds to "/var/lib/flatpak/app/org.libretro.RetroArch/current/active/files/share/libretro/autoconfig" in the root directory. This discrepancy prevents RetroArch from properly extracting files to the intended location.

To demonstrate this issue:

  • Exit RetroArch completely
  • Remove the RetroArch profile directory: ~/.var/app/org.libretro.RetroArch
  • Launch RetroArch
  • Navigate to Settings -> Input -> RetroPad Binds -> Port 1 Controls
  • Select Save Controller Profile. You should see a confirmation message:

image

  • Modify any button setting
  • Attempt to Save Controller Profile again. This time, you'll encounter the error "Error saving controller profile." described on the screenshot below:

image

Expected behavior

  • Exit RetroArch completely
  • Remove the RetroArch profile directory: ~/.var/app/org.libretro.RetroArch
  • Launch RetroArch
  • Navigate to Settings -> Input -> RetroPad Binds -> Port 1 Controls
  • Select Save Controller Profile. The error "Error saving controller profile." should be displayed:

image

Version

  • Flatpak 1.19.1
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

No branches or pull requests

1 participant