[X] I am reporting a bug in the Onion OS (Note that Onion devs can’t fix inherited issues with RA Cores)
[X] I have reviewed the Onion Wiki and did not find the answer
[X] I have searched the existing (open and closed) issues to ensure I do not log a duplicate
Onions OS Version
v4.2.0-beta-dev-4c7e2db
Miyoo Firmware Version
202303262339
Provide a clear and concise description of the issue
While scrolling a very long game list (>500 entries), the system starts to slow down/lag after viewing a few hundred entries. Eventually the game list UI freezes, blanks the screen, and returns to the main menu. After this happens, some buttons seem to be remapped in the UI (they are correct in-game): Select button does nothing, Menu button opens the Select menu, X no longer opens Search. The buttons remain this way until the device is rebooted.
Have observed the same behavior on 4 different devices (same Onion version/firmware version/game collection).
Maybe there's a memory leak in the game list logic? Possibly related to images?
Steps to Reproduce
Have a system with 500+ games
Ensure all games have images (Imgs folder)
From the main menu, navigate to the above system, viewing the game list
Scroll one entry at a time
Eventually after a few hundred (~200-300) entries the UI will begin to slow down
Continue scrolling and the UI will eventually freeze/crash
Provide any additional context or information that may help us investigate your issue
If you notice the slowdown starting to occur, back out to the Systems menu, then return to the desired system game list. This seems to temporarily alleviate the slowdown (perhaps by freeing some memory?).
Checklist
Onions OS Version
v4.2.0-beta-dev-4c7e2db
Miyoo Firmware Version
202303262339
Provide a clear and concise description of the issue
While scrolling a very long game list (>500 entries), the system starts to slow down/lag after viewing a few hundred entries. Eventually the game list UI freezes, blanks the screen, and returns to the main menu. After this happens, some buttons seem to be remapped in the UI (they are correct in-game): Select button does nothing, Menu button opens the Select menu, X no longer opens Search. The buttons remain this way until the device is rebooted.
Have observed the same behavior on 4 different devices (same Onion version/firmware version/game collection).
Maybe there's a memory leak in the game list logic? Possibly related to images?
Steps to Reproduce
Provide any additional context or information that may help us investigate your issue
If you notice the slowdown starting to occur, back out to the Systems menu, then return to the desired system game list. This seems to temporarily alleviate the slowdown (perhaps by freeing some memory?).