On Dec 16, 2007, at 12:58 AM, Giuliano Colla wrote:
Damien Gerard ha scritto:
On Dec 15, 2007, at 1:05 PM, Giuliano Colla wrote:
Calling Application.ProcessMessages under Linux/gtk2 freezes the
application. (Linux-gtk2-fpc2.2.0)
Stepping through with debugger shows that it goes in an endless
loop. Under gtk1 and qt works properly.
Is it a known problem? I didn't find any reference in Mantis.
Please provide a sample to test. It works fine with me (Ubuntu 7.10/
gtk2/fpc 2.2.0 and lastest rev for lazarus).
In a trivial case it works for me too. But in the real app, which
works fine both with gtk1 and qt, the problem arises. The
application is not so small, and requires the installation of an
extra package to run.
I'll try to create a more manageable test sample, which creates
similar conditions.
Regards,
I use it in a closed source project and there are many
of .ProcessMessages (grrr of Delphi habits ^^). And it works fine.
An infinite loop would have been reported from my users I think.
But there may be a special case. It is not impossible.
Giuliano
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were doing usually
came to a sticky end. All over the entire room, sometimes.
-- (Terry Pratchett, Moving Pictures)
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives