[Gambas-devel] [WORKAROUND] BUG: gb2 & gb3 Failure to terminate

Kadaitcha Man nospam.nospam.nospam at ...176...
Sat Dec 12 00:50:49 CET 2009


2009/12/12 Benoît Minisini <gambas at ...1...>:

> I added a warning in the help topic related to the event loop to explain that
> specific point.

I thought I had seen that, and to be fair I went looking for it so I
could reference it, but since I couldn't find it after much searching
I assumed I may have been mistaken about seeing it. Obviously I was
searching around form documentation, not event loop documentation.

> But maybe I will be able to change that behaviour in Gambas 3. Something like:
> the first time a Window is created, it won't be taken into account by the
> event loop, but as soon as it has been made visible, it will. Even if the
> window is hidden after.

I think it is a worthy change, even though it can be worked around.
The problem is, as I indicated above, finding those kinds of warnings
in the help text. You see, to me, it was a form issue, but your
intimate knowledge of gambas (rightly) classifies it as an event loop
issue. I don't suppose I would be the only one who wouldn't know to
look at the event loop page.

"As soon as you have created a window, the event loop will run, even
if this window is not visible."

That's what I was looking for, but I found it only after you mentioned
the event loop.




More information about the Devel mailing list