OnionUI / MainUI-issues

MainUI is Onion's frontend, unfortunately it's closed source. Any issue will be directed here and hopefully Miyoo will see it and fix them.
1 stars 0 forks source link

(MMP) Large library causing UI crash #7

Open ReliCWeb opened 1 year ago

ReliCWeb commented 1 year ago

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

  1. Have a system with 500+ games
  2. Ensure all games have images (Imgs folder)
  3. From the main menu, navigate to the above system, viewing the game list
  4. Scroll one entry at a time
  5. Eventually after a few hundred (~200-300) entries the UI will begin to slow down
  6. 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?).

ReliCWeb commented 1 year ago

More context: All game images are max 480p resolution, and Wifi is enabled