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

Martin Koller <kol...@aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kol...@aon.at

--- Comment #3 from Martin Koller <kol...@aon.at> ---
I see the same backtrace when using the bluetooth settings and then I click on
my headphone entry.
The crash happens in Qt code in widgets/styles/qstylesheetstyle.cpp:2467

2467        if (const QAbstractScrollArea *sa = qobject_cast<const
QAbstractScrollArea *>(w->parentWidget())) {
since "w" is a nullptr.

backtrace:

(gdb) bt
#0  containerWidget(QWidget const*) (w=w@entry=0x0) at
styles/qstylesheetstyle.cpp:2467
#1  0x00007f011105058e in
QStyleSheetStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*,
QPainter*, QWidget const*) const (this=0x173efe0, pe=QStyle::PE_PanelLineEdit,
opt=0x25101a0, p=0x7ffda9d7f150, w=0x0)
    at styles/qstylesheetstyle.cpp:4452
#2  0x00007f00f474128d in KQuickStyleItem::paint(QPainter*)
(painter=0x7ffda9d7f150, this=0x250ea50)
    at
/usr/src/debug/qqc2-desktop-style-5.98.0-1.2.x86_64/plugin/kquickstyleitem.cpp:1670
#3  KQuickStyleItem::updatePolish() (this=0x250ea50)
    at
/usr/src/debug/qqc2-desktop-style-5.98.0-1.2.x86_64/plugin/kquickstyleitem.cpp:1930
#4  0x00007f010f4979d2 in QQuickWindowPrivate::polishItems() () at
/lib64/libQt5Quick.so.5
#5  0x00007f010f521d8e in QQuickRenderControl::polishItems() () at
/lib64/libQt5Quick.so.5
...

>From what I see, it's a bug in Qt since QStyle::drawPrimitive() allows the
QWidget argument to be a nullptr,
but the case PE_PanelLineEdit does not check this.

Still something must have been changed recently in KDE since the same dialog
worked just before my last
openSuse Tumbleweed upgrade.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to