Abdelrazak Younes wrote:
> Peter Kümmel wrote:
>> Peter Kümmel wrote:
>>> Here the fastest way to reproduce it on Windows:
>>> http://82.149.170.66/kde-windows/qt/single/
>>> Peter
>>>
>>
>> And the first hot-fix.
> 
> I guess there's some kind of new signal plugged into the loop. It should
> not affect other version but please verify and apply.

There is still a recursive paint on every resize, so the patch is too hot.

> 
> Abdel
> 
>>
>> Peter
>>
>>
>> ------------------------------------------------------------------------
>>
>> Index: src/frontends/qt4/GuiWorkArea.C
>> ===================================================================
>> --- src/frontends/qt4/GuiWorkArea.C    (revision 17619)
>> +++ src/frontends/qt4/GuiWorkArea.C    (working copy)
>> @@ -506,11 +506,11 @@
>>      */
>>  
>>      if (need_resize_) {
>> +        need_resize_ = false;
>>          verticalScrollBar()->setPageStep(viewport()->height());
>>          screen_ = QPixmap(viewport()->width(), viewport()->height());
>>          resizeBufferView();
>>          updateScreen();
>> -        need_resize_ = false;
>>      }
>>  
>>      QPainter pain(viewport());
> 


-- 
Peter Kümmel

Reply via email to