Abdelrazak Younes wrote:
>>
>> I don't think we could just delete it, it's in use, but I will try.
> 
> Indeed. Sorry I did not understand your question. Let's going back to
> the beginning, we have:
> 
>    verticalScrollBar()->setPageStep(viewport()->height());
> 
> Should do nothing
> 
>    paint_device_ = QPixmap(viewport()->width(), viewport()->height());
> 
> I guess the resizeEvent happens during a paintEvent. This should not
> happen because paintEvent has priority other all other events. This
> seems like a bug of the Qt4/MSVC patch to me.
> 
>    view_.view()->workAreaResize();
> 
> This involves a new drawing...
> 
> Abdel.

An other point is, you see only a wrong resize when you've
scrolled the document before resizing, but not every scrolling
gives you the wrong behaviour, very wired.
Peter


Reply via email to