Message "QPainter::begin: A paint device can only be painted by one painter at a time." while in diffview

Bug #234965 reported by Alexey Borzenkov
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Low
Unassigned

Bug Description

While viewing a diffview and moving mouse over the window, the message

    QPainter::begin: A paint device can only be painted by one painter at a time.

is spamming all the time. I traced this happening inside QtGui.QTextBrowser.paintEvent, because DiffSourceView.paintEvent does not free its painter before calling its parent. The patch I'm attaching fixes this issue.

Revision history for this message
Alexey Borzenkov (snaury) wrote :
Revision history for this message
Lukáš Lalinský (luks) wrote :

Thank you for the patch!

Changed in qbzr:
milestone: none → 0.10.0
status: New → Fix Committed
Changed in qbzr:
importance: Undecided → Low
Changed in qbzr:
milestone: 0.10.0 → 0.9.1
Changed in qbzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.