[Breeze] [Bug 427311] New: Kolourpaint crashes when opening "More effects" window

Kai Uwe Broulik bugzilla_noreply at kde.org
Sat Oct 3 23:19:43 BST 2020


https://bugs.kde.org/show_bug.cgi?id=427311

            Bug ID: 427311
           Summary: Kolourpaint crashes when opening "More effects" window
           Product: Breeze
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: QStyle
          Assignee: unassigned-bugs at kde.org
          Reporter: kde at privat.broulik.de
  Target Milestone: ---

SUMMARY
With latest Breeze header area QStyle, Kolourpaint crashes when opening "More
effects" (Ctrl+M) window.

STEPS TO REPRODUCE
1. Run kolourpaint with Breeze git master
2. Open "more effects" window (Ctrl+M)

OBSERVED RESULT
Kolourpaint crashes

EXPECTED RESULT
Kolourpaint does not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Does not crash when run with fusion style

Console output:
QPaintDevice: Cannot destroy paint device that is being painted
QWidget::repaint: Recursive repaint detected

Backtrace:
Thread 1 (Thread 0x7f9a8bf72800 (LWP 49692)):
[KCrash Handler]
#4  0x000000ee00000001 in ?? ()
#5  0x00007f9a904f39a0 in QPainter::setPen (this=this at entry=0x7ffc5ae67ef0,
pen=...) at painting/qpainter.cpp:3923
#6  0x00007f9a89b42923 in Breeze::Style::drawWidgetPrimitive (option=<optimized
out>, widget=0x7ffc5ae689a0, painter=0x7ffc5ae67ef0, this=0x5595a2665140) at
./kstyle/breezetoolsareamanager.h:53
#7  Breeze::Style::drawWidgetPrimitive (this=0x5595a2665140, option=<optimized
out>, painter=0x7ffc5ae67ef0, widget=0x7ffc5ae689a0) at
./kstyle/breezestyle.cpp:916
#8  0x00007f9a89b52a1f in std::function<bool (Breeze::Style const&,
QStyleOption const*, QPainter*, QWidget const*)>::operator()(Breeze::Style
const&, QStyleOption const*, QPainter*, QWidget const*) const
(__args#3=<optimized out>, __args#2=<optimized out>, __args#1=<optimized out>,
__args#0=..., this=0x7ffc5ae67c80) at
/usr/include/c++/9/bits/std_function.h:683
#9  Breeze::Style::drawPrimitive (this=0x5595a2665140,
element=QStyle::PE_Widget, option=0x7ffc5ae67d80, painter=0x7ffc5ae67ef0,
widget=0x7ffc5ae689a0) at ./kstyle/breezestyle.cpp:909
#10 0x00007f9a909660e1 in QWidgetPrivate::paintBackground
(this=this at entry=0x5595a3114870, painter=painter at entry=0x7ffc5ae67ef0, rgn=...,
flags=...) at kernel/qwidget.cpp:2281
#11 0x00007f9a9096a483 in QWidgetPrivate::drawWidget
(this=this at entry=0x5595a3114870, pdev=0x7f9a84005d70, rgn=..., offset=...,
flags=flags at entry=..., sharedPainter=sharedPainter at entry=0x0,
repaintManager=0x5595a3233550) at kernel/qwidget.cpp:5358
#12 0x00007f9a909405e9 in QWidgetRepaintManager::paintAndFlush
(this=this at entry=0x5595a3233550) at
../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#13 0x00007f9a90940eef in QWidgetRepaintManager::sync (this=0x5595a3233550,
exposedWidget=0x7ffc5ae689a0, exposedRegion=...) at
kernel/qwidgetrepaintmanager.cpp:743

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list