[Gambas-bugtracker] Bug #2516: QT no longer allowes GUI events to be processed by wait
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Apr 9 16:00:20 CEST 2022
http://gambaswiki.org/bugtracker/edit?object=BUG.2516&from=L21haW4-
Comment #10 by Benoît MINISINI:
> Please help me understand the reason that a wait should not process GUI events without a timeout.
There is no reason, this was not the point.
The point was that you told me that something changed in the WAIT instruction that broke your program(s) running with the QT component.
I checked, and nothing has changed for years. So it's something else, which I can't guess without more information about what you do -exactly-.
I may add a WAIT syntax that process all events without timeout (as soon as I find a satisfying syntax), but:
- Only GTK+ component did that because of a bug.
- Running the event loop (using WAIT) during a long process is a very bad idea. It's broken, as you may reenter the function doing the long process if you are not careful, or generate other unpredictable behaviours.
More information about the Bugtracker
mailing list