[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 03:33:05 CEST 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2516&from=L21haW4-

Comment #6 by Benoît MINISINI:

As I told you, the behaviour of WAIT didn't change since Gambas 1.0. The project you sent can't work as you want with the QT component, and would work only with the previously buggy GTK+ component.

Does that project replicates exactly what you try to achieve in the projects that do not work anymore?

Because if you tell me that the QT component was allowing input event during the WAIT instruction, you must give more proof of that, as it's normally impossible that it happens. I really think that your problem comes from something else, but without more details, I can't guess what it could be.

I looked five years of log of the gb.qt5 component, the only change about the event processing was the handle of the WAIT NEXT instruction, and it didn't change the behaviour of excluding input events with WAIT alone.

To get the behaviour you want, i.e. if you want to call the event loop with handling of input events, you must replace your WAIT alone by WAIT followed by the smallest timeout value which is 0.001 (one millisecond).




More information about the Bugtracker mailing list