@mitu Thank you for testing!
I'm happy to see results that my fix worked without breaking anything.
I also created a minimal dataset to make it easier for others to reproduce and test the problem.
Extract this and replace the emulationstation folder with your ~/.emulationstation. (Backup is needed)
When you start EmulationStation, (if you have DroidSansFallbackFull.ttf installed,) it should look something like this:
EmulationStation_screenshot.jpg
There are 100 dummy ROM files, so try scrolling through them by pressing the down arrow key⬇.
In my environment, the results were as follows, depending on the screen resolution:
emulationstation --resolution 720 480
→ no problem
emulationstation --resolution 1366 768
→ Scrolling through the game list works fine, but then the main menu appears broken
emulationstation --resolution 1920 1080
→ Crash when pressing ⬇ 43 times
emulationstation --resolution 2560 1440
→ Crash when pressing ⬇ 21 times
emulationstation --resolution 3840 2160
→ ES won't start
And when I included my fix in the binary, all of them were displayed without any problems.
We hope that this will encourage more people to test it and get good results.