NGnius / PowerTools

Moved to
https://git.ngni.us/NG-SD-Plugins/PowerTools
GNU General Public License v3.0
413 stars 29 forks source link

SMT off option will stay active when leaving the game #68

Closed andgtr08 closed 1 year ago

andgtr08 commented 1 year ago

Please confirm

Expected Behaviour

After exiting a game (in my case emulator) with SMT off profile, the plugin should return to default profile (that uses SMT On)

Actual Behaviour

When playing a game or application with SMT Off, the option will stay disabled (disabling SMT) after exiting. Unless you use other game or application with Persistent profile with SMT On or enabling it again.

Steps To Reproduce

  1. Set a persistent profile to a game.
  2. Disable "SMT"
  3. Exit the game.
  4. Open other game with no persistent profile
  5. The game now is running with default profile but SMT is disabled.

Anything else?

A temporary fix is set a persistent profile to the SD home screen with SMT On. That way the plugin will always enable SMT again.

No response

Version

1.0.5 (Latest stable)

Platform

Steam Deck

OS

SteamOS 3 (Stable)

NGnius commented 1 year ago

Is this not just because your Default (Main menu) profile is not set to persistent? When that's the case, it'll keep whatever settings were last applied.

andgtr08 commented 1 year ago

Is this not just because your Default (Main menu) profile is not set to persistent? When that's the case, it'll keep whatever settings were last applied.

That's exactly the case. But the SMT off option should still be active even when exit the game? I thought it would be reversed.

NGnius commented 1 year ago

This is working as intended: if you have persistence enabled on the default settings, returning to menu loads the default settings. If you turn off persistence, that action will not do anything since there's no file to override the currently-applied settings.

This is going to change with the next update, so no need to ask for this as an enhancement. For context, see #44 , specifically this comment.