Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Tue, Jun 27, 2006 at 02:19:52AM +0200, Lars Gullik Bjønnes wrote:
| >  GuiWorkArea::~GuiWorkArea()
| >  {
| >  }
| > @@ -459,7 +461,7 @@ void GuiWorkArea::update(int x, int y, i
| >         //QPainter q(&screen_device_);
| >         //q.drawImage(x, y, paint_device_.copy(x, y, w, h));
| > 
| > -       viewport()->update(x, y, w, h);
| > +       viewport()->repaint(x, y, w, h);
| >  }
| 
| This short-cuts the Qt 'update compression mechanism' which usually
| works rather well.

Mmm... but not in this case.

| I had to do the same myself only once so far and in that case I wanted
| an immediate update of a window that had no focus (using update()
| instead of repaint() resulted in a visble delay of maybe 0.2 seconds).

Yeah. But this time the delay is in the seconds range between updates. 

| So I wonder whether we are doing something wrong here. Are there lots of
| other events in the event queue at this time?

Could be. I really hope Abdel will reconsider, but regardless of that
we should continue the cleanup/refactorization he has begun.

-- 
        Lgb

Reply via email to