Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5820 closed defect (fixed)

Reproducible recursive repaint crash/assertion

Reported by: Vincent van Ravesteijn Owned by: nobody@…
Priority: high Milestone:
Component: frontend-qt4 Version: 1.6.1
Severity: critical Keywords: QTBUG
Cc: j.spitzmueller@…, uwestoehr@…, jxz@…

Description

  1. New file
  2. Split View in Left and Right half
  3. Help->Introduction (or open any other file that is larger than the height

of the screen)

  1. Scroll down to the bottom
  2. Insert Math on the last row
  3. See the two math-toolbars appear on the bottom and cover part of the buffer
  4. Scroll to the bottom again (this is essential!)
  5. Make sure the cursor is still inside the math
  6. Click in the document in the left view

LyX exits with the message:
QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active
QWidget::repaint: Recursive repaint detected

C:/Users/Vincent/OpenSource/LyX/svn-trunk/lib/doc/Intro.lyx.emergency

And in debug mode:
ASSERT: "sharedPainter ? sharedPainter->isActive() : true" in file
kernel\qwidget.cpp, line 4565

Change History (9)

comment:1 by ps@…, 16 years ago

possibly related to #5499

comment:2 by Juergen Spitzmueller, 16 years ago

Cc: j.spitzmueller@… added
Milestone: 1.6.3

Unless someone comes up with a straightforward patch, we'll postpone this to
1.6.3. We need to get out 1.6.2 eventually.

comment:3 by Vincent van Ravesteijn, 16 years ago

Keywords: QTBUG added

It's a qt-bug. It can be solved by the patch that can be found here:

http://websvn.kde.org/trunk/qt-copy/patches/0256-fix-recursive-backingstore-
sync-crash.diff?view=markup&pathrev=880178.

It should also be fixed in qt4.5.

comment:4 by Vincent van Ravesteijn, 16 years ago

* #5821 has been marked as a duplicate of this bug. *

comment:5 by Uwe Stöhr, 16 years ago

Cc: uwestoehr@… added

Fixed by Qt 4.5.0, please test.

comment:6 by Juergen Spitzmueller, 16 years ago

Milestone: 1.6.3

QT bug -- a LyX milestone does not make sense.

comment:7 by Vincent van Ravesteijn, 16 years ago

Resolution: fixed
Status: newclosed

Indeed fixed in QT4.5.

comment:8 by Vincent van Ravesteijn, 16 years ago

Cc: jxz@… added

comment:9 by Vincent van Ravesteijn, 16 years ago

* #5862 has been marked as a duplicate of this bug. *

Note: See TracTickets for help on using tickets.