On 15/05/2011 19:48, Andre Poenitz wrote:
On Sun, May 15, 2011 at 06:59:38PM +0200, Vincent van Ravesteijn wrote:
On Sun, May 15, 2011 at 6:53 PM, Uwe Stöhr<uwesto...@web.de>  wrote:

With LyX 2.0.0
- open the Tutorial
- insert there a new table
- set the cursor into the new table

In the LyX console window I then get these messages:

  QWidget::repaint: Recursive repaint detected
  QPainter::begin: Paint device returned engine == 0, type: 1
  QPainter::setPen: Painter not active

What about them?
That's a Qt problem.
LyX still uses repaint() instead of update(), doesn't it?

Indeed!

void GuiWorkArea::update(int x, int y, int w, int h)
{
    viewport()->repaint(x, y, w, h);
}

Revert 25234: Even though this is not recommended, using repaint give a much better user experience when dragging the scrollbar slider. So I am changing it back. I've solved the problem leading to rev25234 thanks to the new TocModel anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25305 a592a061-630c-0410-9148-cb99ea01b6c8

Maybe the scrolling problem is not any more... we should try to change that.

Abdel.

Reply via email to