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

Replace "Quit RetroArch: Quit the program." with "Quit RetroArch. Save Configuration on Quit is [enabled]/[disabled]" #16000

Open
davidhedlund opened this issue Dec 11, 2023 · 16 comments

Comments

@davidhedlund
Copy link

davidhedlund commented Dec 11, 2023

Description

  • In GNU/Linux the settings are closed when you close retorarch either from "Main Menu -> Quit RetroArch" or if you use the top right close window button
  • In Android the settings in RA is not saved if you swipe-close the program. You have to quit retroarch from "Main Menu -> Quit RetroArch" to save the settings. But this is easy to forget.

Expected behavior

It would be useful if "Quit RetroArch: Quit the program." was replaced with "Quit RetroArch: Save the settings and quit the program."

Actual behavior

image

Steps to reproduce the bug

  • Open RA
  • In Home, scroll down to the "Quit RetroArch" entry

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

1.9.12

Environment information

  • OS: Android 10
@davidhedlund davidhedlund changed the title Android: Replace "Quit RetroArch: Quit the program" with "Quit RetroArch: Save the settings and quit the program" Android: Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save the settings and quit the program." Dec 11, 2023
@sonninnos
Copy link
Collaborator

sonninnos commented Dec 12, 2023

Except it does not save if you disable the option that saves on quit, so in that case it would need 2 sublabels..

Also that 1.9.12 version is very much obsolete, but sure this thing still applies.

@davidhedlund
Copy link
Author

davidhedlund commented Dec 12, 2023

Except it does not save if you disable the option that saves on quit, so in that case it would need 2 sublabels.

Thank you. So to make it clear, the bold text below is desired under the specific circumstances:

If: Settings -> Configuration -> Save Configuration on Quit: Enabled [default]:

  • Label: Quit. Sub label: "Quit RetroArch application and save settings."

If: Settings -> Configuration -> Save Configuration on Quit: Disabled:

  • Label: "Quit. Sub label: Save Configuration on Quit is disabled."

Also that 1.9.12 version is very much obsolete, but sure this thing still applies.

Oh. Well, this is the current version on both Google Play, and F-Droid [incorrect].

@hizzlekizzle
Copy link
Contributor

F-Droid should have an up-to-date version.

@davidhedlund
Copy link
Author

F-Droid should have an up-to-date version.

You are right, the F-Droid release was 1.16.0. But the problem of this issue still applies.

@hizzlekizzle
Copy link
Contributor

I think the main issue with this suggestion is that whether or not the settings are saved is contingent on the 'save settings on exit' setting, and I don't think we can make conditional menu text. That is, I believe it's hardcoded at compile time.

@davidhedlund
Copy link
Author

I don't think we can make conditional menu text.

Can you please try to verify if it's possible or not?

That is, I believe it's hardcoded at compile time.

Sorry, I don't understand this, why not just modify the text before it's compiled?

@hizzlekizzle
Copy link
Contributor

What I mean is: that statement wouldn't always be true, depending on whether or not 'save on exit' is enabled or not, and we have to set the menu text at compile time rather than being able to change it dynamically depending on what settings are enabled.

@davidhedlund
Copy link
Author

davidhedlund commented Jan 9, 2024

What I mean is: that statement wouldn't always be true, depending on whether or not 'save on exit' is enabled or not,

Oh, I get your point: If there's nothing to save, then it's pointless with the extra added "Save the settings" text to the menu entry. I'll replace "Save the settings" with "Save modified settings" so it's always true, since that will indicate settings will not be saved if it's nothing is modified.

and we have to set the menu text at compile time rather than being able to change it dynamically depending on what settings are enabled.

Is it possible to change that?

@hizzlekizzle
Copy link
Contributor

hizzlekizzle commented Jan 9, 2024

No, I mean this setting:
image
when it's OFF, "save the settings and quit the program" would not be true.

is it possible to change that?

Almost anything is possible, it's more a matter of: how much work it would be to do it, what benefit comes from doing it and who has the inclination to do it?

@davidhedlund
Copy link
Author

davidhedlund commented Jan 9, 2024

No, I mean this setting: image when it's OFF, "save the settings and quit the program" would not be true.

I discussed how to solve that with if statements here -- but yes that would require dynamic coding.

is it possible to change that?

Almost anything is possible, it's more a matter of: how much work it would be to do it, what benefit comes from doing it and who has the inclination to do it?

Thank you.

@davidhedlund davidhedlund changed the title Android: Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save the settings and quit the program." Android: Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save modified settings and quit the program." Jan 9, 2024
@davidhedlund davidhedlund changed the title Android: Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save modified settings and quit the program." Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save modified settings and quit the program." Jan 9, 2024
@RobLoach
Copy link
Member

RobLoach commented Jan 14, 2024

I don't believe we have to be so verbose here. It does a few things when exiting, which is configurable, and I don't think we have to explain that. It's unnecessary bloat... If anything, I think we could remove the "RetroArch" from the menu label, as it's implied and explained in the sublabel.

quit-app

@davidhedlund
Copy link
Author

@hizzlekizzle
Copy link
Contributor

I think the verbosity is mostly to intended to disambiguate from the 'restart' and 'close content' entries in the quick menu. Nevertheless, I think there's a reasonable argument that it's unnecessarily verbose, though that has largely been our strategy for improving usability for n00bs: explain everything.

@davidhedlund
Copy link
Author

davidhedlund commented Jan 22, 2024

If: Settings -> Configuration -> Save Configuration on Quit: Enabled [default]:

* Label: Quit. Sub label: "Quit RetroArch application and save settings."

If: Settings -> Configuration -> Save Configuration on Quit: Disabled:

* Label: "Quit. Sub label: Save Configuration on Quit is disabled."

@zoltanvb almost solved this, but the text: "Configuration save on exit is [enabled]/[disabled]." does not specify which configuration that is enabled or disabled. It should be updated to

  • Save Configuration on Quit is [enabled]/[disabled].// distinguish from Save Remap Files on Quit (that I suggested here before) or
  • Save Configuration on Quit is [enabled]/[disabled], Save Remap Files on Quit is [enabled]/[disabled].

image

@davidhedlund davidhedlund changed the title Replace "Quit RetroArch: Quit the program." with "Quit RetroArch: Save modified settings and quit the program." Replace "Quit RetroArch: Quit the program." with "Quit RetroArch. Save Configuration on Quit is [enabled]/[disabled]" Jan 22, 2024
@davidhedlund
Copy link
Author

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

4 participants