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

            Bug ID: 468576
           Summary: Middle-clicking certain widgets in a panel crashes
                    plasmashell
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: ryuichi.ya...@gmail.com
                CC: niccolo.venera...@gmail.com
  Target Milestone: 1.0

SUMMARY
Middle-clicking on some panel widgets (e.g. to mute all speakers) crashes
plasmashell.

STEPS TO REPRODUCE
1.  Middle-click the volume panel icon

OBSERVED RESULT
Crashes plasmashell

EXPECTED RESULT
Does not crash plasmashell

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.10-200.fc37.x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
I'm using Breeze as my application style theme. It also happens on a Wayland
session.

On my system, middle-clicking the titlebar buttons crashes KWin as well. So it
might not be an issue in plasmashell but in Qt or something.

A backtrace generated by gdb:
Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
0x00007fb191bdc8ef in QWidgetPrivate::pointInsideRectAndMask (p=...,
this=0x5637162b5800) at
../../include/QtWidgets/5.15.8/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:840

840         return q->rect().contains(p) && (!extra || !extra->hasMask ||
q->testAttribute(Qt::WA_MouseNoMask)

Thread 1 (Thread 0x7fb18c91a980 (LWP 13671) "plasmashell"):
#0  0x00007fb191bdc8ef in QWidgetPrivate::pointInsideRectAndMask (p=...,
this=0x5637162b5800) at
../../include/QtWidgets/5.15.8/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:840
#1  QWidgetPrivate::childAt_helper (this=0x5637162b5800, p=...,
ignoreChildrenInDestructor=ignoreChildrenInDestructor@entry=false) at
kernel/qwidget.cpp:10176
#2  0x00007fb191bdc97f in QWidget::childAt (this=this@entry=0x563718302d30,
p=...) at kernel/qwidget.cpp:10168
#3  0x00007fb1931f19a9 in KCheckAccelerators::eventFilter (this=0x563715ba84c0,
obj=0x563718302d30, e=0x7ffc580c8f00) at
/usr/src/debug/kf5-kxmlgui-5.104.0-1.fc37.x86_64/src/kcheckaccelerators.cpp:174
#4  0x00007fb190e9d1d1 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters
(this=this@entry=0x563715698e30, receiver=receiver@entry=0x563718302d30,
event=event@entry=0x7ffc580c8f00) at kernel/qcoreapplication.cpp:1172
#5  0x00007fb191baeda0 in QApplicationPrivate::notify_helper
(this=0x563715698e30, receiver=0x563718302d30, e=0x7ffc580c8f00) at
kernel/qapplication.cpp:3611
#6  0x00007fb190e9d4e8 in QCoreApplication::notifyInternal2
(receiver=0x563718302d30, event=0x7ffc580c8f00) at
kernel/qcoreapplication.cpp:1064
#7  0x00007fb190e9d6f2 in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1474
#8  0x00007fb19136ad6d in QGuiApplicationPrivate::processMouseEvent
(e=0x56371ac07b20) at kernel/qguiapplication.cpp:2278
#9  0x00007fb191349f1c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#10 0x00007fb17f116a7e in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#11 0x00007fb18fc65c7f in g_main_dispatch (context=0x7fb178005010) at
../glib/gmain.c:3454
#12 g_main_context_dispatch (context=0x7fb178005010) at ../glib/gmain.c:4172
#13 0x00007fb18fcbc118 in g_main_context_iterate.constprop.0
(context=0x7fb178005010, block=1, dispatch=1, self=<optimized out>) at
../glib/gmain.c:4248
#14 0x00007fb18fc62f00 in g_main_context_iteration (context=0x7fb178005010,
may_block=1) at ../glib/gmain.c:4313
#15 0x00007fb190eee5fa in QEventDispatcherGlib::processEvents
(this=0x563715773d80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#16 0x00007fb190e9bf3a in QEventLoop::exec (this=this@entry=0x7ffc580c9290,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#17 0x00007fb190ea4002 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x00007fb19135fad0 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1863
#19 0x00007fb191baecd9 in QApplication::exec () at kernel/qapplication.cpp:2832
#20 0x0000563713e266ac in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma-workspace-5.27.4.1-1.fc37.x86_64/shell/main.cpp:235
Detaching from program: /usr/bin/plasmashell, process 13671
[Inferior 1 (process 13671) detached]

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

Reply via email to