-
Notifications
You must be signed in to change notification settings - Fork 71
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
Game list order changes after fetching games list from the API #564
Comments
That is odd. When did you install them? If they were installed with the latest version of Minigalaxy, this should not happen, but it would be good to test that. If you reinstall one or two of them, does that change the behavior for these specific ones? |
…Like I said: the initial ordering is controlled by the contents of And yes, I'm running the latest release (1.2.2). |
As for your question: reinstalling the game does not help – after the game is installed, the (Also the tile is still dimmed after the install, and the sorting position isn't moved into the installed games list… until the app restart, that is.) |
Oh, that makes sense. So what you're saying is that the name in the gameinfo file should be updated when the api is polled. Got it. |
A few months ago I've installed several games from the DROD series. I haven't been playing them for a while, but after I started I've noticed that the order they're placed in initially gets changed after a few seconds. This causes usage problems; i.e. if I'm trying to run a game, I click "play" on one of the games, but it switches out the game tile under my cursor so a different game loads up instead.
It seems that the name was changed in the API for some games since I've installed them; so the initial order they're placed in goes like this:
…and after fetching API data they get ordered like this:
The first version of the name appears to be taken from the
./gameinfo
file contained in the game folder. I suggest detecting when the name fetched in the API differs from the old one, and updating the metadata file so that the initial tile ordering is correct on the next startup.The text was updated successfully, but these errors were encountered: