[BUG][PL] Level Select Menu: Crash after multiple clicks

Started by Flopsy, Today at 02:34:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Flopsy

So I was recording NeoLemmix 30 episodes today and I encountered crashes during one of my videos. The video is not live until mid September but I did record another video replicating what I did. It does seem to happen pretty randomly but when I click to open a tree of levels, the window might sometimes freeze and if I were to click again in this timeframe, I'll get the (not responding) on the window top line. Pressing X on the window then leads to the NeoLemmix is not responding window popping up.

This happens when I clicked the God Save The Queen pack in the embedded video, it's nothing to do with that pack, it's just a random thing that happens.


WillLem

The Level Select Menu going unresponsive is something I've been continually working to prevent ever since I started working on SuperLemmix. It's come a long way, but clearly could go further. I discovered the other day that the Search feature can still crash; I thought this was sorted, but it isn't.

This seems to happen most often with large level collections; measures have been taken to make larger collections more manageable, but there is still more to do.

Best guess: the message queue is being flooded with each click, and the UI doesn't have time to fully update before being given more clicks to resolve. I imagine that the best way to handle this is to find a way to actively ditch the existing queue whenever a new click is made. I'm not even sure if that's possible (or if it's standard programming practice), it's just what I'm guessing.

I'll investigate this again soon. Optimizing/improving the Level Select menu is one of my favourite things to do.