[Qt-interest] Really Slow Events in 5.5

tgreen at digecor.com tgreen at digecor.com
Tue Apr 28 19:22:48 CEST 2009


All,

I wrote a little widget in 5.4 that works just fine.  But, time marches 
on, and we needed to move to 5.5 (this is on an embedded platform).  Now, 
there is an unbelievably long delay in the event processing.  The widget 
gets painted up very quickly, but focus doesn't transfer to the widget for 
about half a second.  The overall effect is to make the user experience 
-very- sluggish.  I put some time checking int the event handlers to see 
what was happening:

Initial paint event to the focus in event .531 seconds
focus in event to next paint event .01 seconds.

This is the average time (over about 20 iterations) that it takes between 
the events.  Why might this have changed between 4.4. and 4.5?  What can I 
do to make this snappier, to force the focus in event to happen 
immediately on conclusion of the paint event?

Tia,


Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090428/cbd6b997/attachment.html 


More information about the Qt-interest-old mailing list