Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
None
-
OS X 10.9.5
-
-
7146cbed6e3a42389593b775bf4a26f05b4b8d82
Description
Editing a QListWidget with a horizontal scrollbar sometimes crashes just after the editor closes with the following warnings:
QWidget::repaint: Recursive repaint detected
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
1. QAbstractItemView::event() for QEvent::Paint calls doItemsLayout()
2. Which leads to calling setGeometry()
3. Which calls [NSView setFrame:]
4. Which directly initiates another repaint
This might be the same bug as QTBUG-37233, the QListWidget is to the side of a QGLWidget and I have not been able to replicate the crash or the repaint warning in a simpler application.
I've attached a backtrace of the final crash in QPaintEngine::syncState() as well one with QT_FATAL_WARNINGS=1 set that shows the source of the Recursive repaint detected warning.