Skip to content

Autoselect the first game in the app list (if not empty) - #72

Open
henryfa2 wants to merge 2 commits into
OneLiberty:samsung_wasmfrom
henryfa2:samsung_wasm
Open

Autoselect the first game in the app list (if not empty)#72
henryfa2 wants to merge 2 commits into
OneLiberty:samsung_wasmfrom
henryfa2:samsung_wasm

Conversation

@henryfa2

@henryfa2 henryfa2 commented Nov 9, 2024

Copy link
Copy Markdown

Changes proposed in this pull request:

  • Autoselect the first game in the app list (if not empty)

Autoselect the first game in the app list (if not empty)
@henryfa2

henryfa2 commented Nov 9, 2024

Copy link
Copy Markdown
Author

Tests done :

  • Loading the app list
  • Starting the first app in the list / another one
  • Leaving the running app (with 4 button gamepad combo) and starting the same / another one
  • 'Quit app' button then starting another app

@OneLiberty

Copy link
Copy Markdown
Owner

Thanks for the PR !
I was trying to do something like this, but selecting the last launched game instead of the first one, what do you think about it ?

@henryfa2

Copy link
Copy Markdown
Author

Well, I think it kinda depends on how the user uses the application.
To me, what you propose would be a good change since I launch only 1 app (Playnite) on Moonlight.
But for someone else that launches 30 differents apps, I dunno if that would be a good change.
And if you do that, you'll have to deal with the case where the user starts an app on Moonlight and decide to remove it later => you need a default case to select nothing (or first app?) if the app is removed from the app list

@LeGeRyChEeSe LeGeRyChEeSe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice feature ! Please add this

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.

3 participants