Summary: | Discover freezes in style's scrollbar rendering code in addons view | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahiemstra, aleixpol, kde, nate, noahadvs, uhhadd |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Patrick Silva
2021-10-15 12:06:23 UTC
Looks like it is being sad while trying to render a scrollbar: Thread 1 (Thread 0x7ffff094ebc0 (LWP 31868)): #0 0x00007ffff67da071 in comp_func_solid_SourceOver_sse2(unsigned int*, int, unsigned int, unsigned int) (destPixels=0x55555e394578, length=8, color=637863430, const_alpha=<optimized out>) at painting/qdrawhelper_sse2.cpp:378 #1 0x00007ffff65dcc4f in blend_color_argb(int, QSpan const*, void*) (count=<optimized out>, spans=0x7fffffffac80, userData=0x55555df36a58) at painting/qdrawhelper.cpp:4541 #2 0x00007ffff65f4753 in gray_hline (worker=worker@entry=0x7fffffffa930, x=<optimized out>, y=<optimized out>, y@entry=24, area=area@entry=-131072, acount=8) at painting/qgrayraster.c:1288 #3 0x00007ffff65f68fa in gray_sweep (target=0x7fffffffa9d0, worker=0x7fffffffa930) at painting/qgrayraster.c:1382 #4 gray_convert_glyph (worker=0x7fffffffa930) at painting/qgrayraster.c:1779 #5 0x00007ffff6627602 in QRasterPaintEnginePrivate::rasterize(QT_FT_Outline_*, void (*)(int, QT_FT_Span_ const*, void*), void*, QRasterBuffer*) (this=0x55555e00f4c0, outline=<optimized out>, callback=0x7ffff65dcb20 <blend_color_argb(int, QSpan const*, void*)>, userData=<optimized out>) at painting/qpaintengine_raster.cpp:3715 #6 0x00007ffff6635351 in QRasterPaintEnginePrivate::rasterize(QT_FT_Outline_*, void (*)(int, QT_FT_Span_ const*, void*), QSpanData*, QRasterBuffer*) (rasterBuffer=0x55555e08af90, spanData=0x55555df36a58, callback=0x7ffff65dcb20 <blend_color_argb(int, QSpan const*, void*)>, outline=0x55555e1a5c50, this=0x55555e00f4c0) at painting/qpaintengine_raster.cpp:3640 #7 QRasterPaintEngine::fill(QVectorPath const&, QBrush const&) (this=<optimized out>, path=..., brush=...) at painting/qpaintengine_raster.cpp:1815 #8 0x00007ffff66179dd in QPaintEngineEx::draw(QVectorPath const&) (this=0x555556553f60, path=...) at painting/qpaintengineex.cpp:628 #9 0x00007ffff6618e5b in QPaintEngineEx::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) (this=<optimized out>, rect=..., xRadius=<optimized out>, yRadius=<optimized out>, mode=<optimized out>) at painting/qpaintengineex.cpp:807 #10 0x00007ffff6644a00 in QPainter::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) (this=this@entry=0x7fffffffcf70, rect=..., xRadius=xRadius@entry=5, yRadius=yRadius@entry=5, mode=mode@entry=Qt::AbsoluteSize) at painting/qpainter.cpp:4170 #11 0x00007fffeff3abbe in Breeze::Helper::renderScrollBarGroove(QPainter*, QRect const&, QColor const&) const (this=<optimized out>, painter=painter@entry=0x7fffffffcf70, rect=..., color=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:819 #12 0x00007fffeff5c882 in Breeze::Style::drawScrollBarComplexControl(QStyleOptionComplex const*, QPainter*, QWidget const*) const (this=0x55555561d490, option=0x55555caf7180, painter=0x7fffffffcf70, widget=0x0) at ./kstyle/breezestyle.cpp:6891 #13 0x00007fffeff5c1d0 in std::function<bool (Breeze::Style const&, QStyleOptionComplex const*, QPainter*, QWidget const*)>::operator()(Breeze::Style const&, QStyleOptionComplex const*, QPainter*, QWidget const*) const (__args#3=<optimized out>, __args#2=<optimized out>, __args#1=<optimized out>, __args#0=..., this=0x7fffffffce10) at /usr/include/c++/9/bits/std_function.h:683 #14 Breeze::Style::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const (this=0x55555561d490, element=QStyle::CC_ScrollBar, option=0x55555caf7180, painter=0x7fffffffcf70, widget=0x0) at ./kstyle/breezestyle.cpp:1097 Would it make sense to move this to breeze then? It's already in Breeze :) I can reproduce this with Fusion; it is likely either a qqc2-desktop-style or Kirigami bug. Moving to qqc2-desktop-style for now, pending further investigation. Cannot reproduce on Plasma 6 alpha, let's consider this fixed. |