View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000897||OpenMPT||User Interface||public||2016-12-07 23:37||2016-12-08 15:38|
|Summary||0000897: Clicking "Zxx Macro" while song is playing makes UI hang until song ends|
So, this is a kind of annoying discovery- I found out that clicking the Zxx Macro button while a song is currently playing freezes the UI, making it not respond to any mouse or keyboard input. Only when I hit the escape key to force the song to end, or wait until it reaches a stop effect (it still hangs when it loops) does the Zxx window pop up and unfreeze the UI. Might not be terribly worthy of an issue tracker entry (and might not be a reproducible phenomenon) but it's something I feel I should point out.
|Steps To Reproduce|
Load any song, play it, and try to click the "Zxx Macro" button while the song is playing. CLicking or doing anything else in the UI should do nothing. Ending the song with ESC or waiting until it ends normally will cause the Zxx Macro dialog to pop up.
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|
Random guess - is "smooth pattern scrolling" enabled?
Disabling smooth pattern scrolling seems to fix the issue and open the Zxx Macro window normally, so yeah. It's probably an issue specifically with that, it looks like.
The problem here is that smooth pattern scrolling schedules GUI updates so often that other window messages (such as the ones to open dialogs) can no longer be processed. This should happen with any dialogs while the pattern editor is showing, though, not just the macro editor. A possible workaround (for the time being) is to increase the update interval in the sound card settings.