Open LItterBoy-GB opened 1 year ago
Did you read the documentation for the UI::start_timer
method ?
It clearly states:
Note that there is a bug that if you open a modal window in a non-repeating timer the timer will repeat until the window is closed.
It has been like this since forever.
The solution is not to open modal windows (message boxes, inputboxes, the Preferences panel, the Welcome dialog, modal web dialogs, etc.,) from a non-repeating timer block. Or a repeating timer block.
I cannot think of any good reason to do so.
For deferred execution of some code that might block the thread, you can use this pattern as a workaround:
Sorry, I didn't carefully read the method statement
Logged as: SKEXT-3720
Cross reference with: SKEXT-3775
This old problem would deserve to be fixed....
bug code
Current solution