[Qt-interest] slot seems to die when widget is in motion
Tony Rietwyk
tony.rietwyk at rightsoft.com.au
Sat Jul 25 05:47:39 CEST 2009
Hi Deepak,
I found the same thing in 4.4 running on WinXP, and worse - it affects
timers in all threads - not just the gui thread! It seems all of the Qt
timers are event based, and events are not delivered during window drag, and
window resize actions.
So if you want accurate timers, you have to use platform specific code.
Yuk! :O(
Tony.
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Deepak Angeshwar
Sent: Saturday, 25 July 2009 01:41
To: qt-interest at trolltech.com
Cc: qt-jambi-interest at trolltech.com
Subject: [Qt-interest] slot seems to die when widget is in motion
I have a slot in my custom widget. This custom widget is placed on the main
window (another Widget)
The custom widget keeps on receiving some messages from an external source.
I see that when the main window is dragged or moved, the custom widget stops
receiving the messages via he slot
Once I stop moving the main window, custom widget starts receiving the
messages again.
Its as though the slot gets disabled while in motion, has anyone else faced
the same issue.
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090725/88aa207b/attachment.html
More information about the Qt-interest-old
mailing list