<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>459235</bug_id>
          
          <creation_ts>2022-09-16 19:12:03 +0000</creation_ts>
          <short_desc>Plasma crashed after closing Widget Explorer on Wayland</short_desc>
          <delta_ts>2022-09-23 16:20:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Widget Explorer sidebar</component>
          <version>5.25.90</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>446111</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi, wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Silva">bugseforuns</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
    
    <cc>qydwhotmail</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2153402</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2022-09-16 19:12:03 +0000</bug_when>
    <thetext>Application: plasmashell (5.25.90)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.25.90 [KCrashBackend]

-- Information about the crash:
open widget explorer on Wayland, drag analog clock to desktop but do not release the mouse button and press ESC - now the widget explorer is greyed out. Close the widget explorer, Plasma crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7eca053e54 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#5  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f7eca053d47 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#8  0x00007f7eca04da19 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#9  0x00007f7eca04e4d2 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/libQt5Quick.so.5
#10 0x00007f7ec8955c45 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f7ec9178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f7ec848cb68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f7ec893f13c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#14 0x00007f7ec8928985 in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Gui.so.5
#15 0x00007f7ec815e4a5 in  () at /usr/lib/libQt5WaylandClient.so.5
#16 0x00007f7ec69e0b2b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007f7ec6a36e79 in  () at /usr/lib/libglib-2.0.so.0
#18 0x00007f7ec69de252 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#19 0x00007f7ec84d74ec in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#20 0x00007f7ec848530c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#21 0x00007f7ec848fe39 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x00005634d66550e7 in  ()
#23 0x00007f7ec7c3c290 in  () at /usr/lib/libc.so.6
#24 0x00007f7ec7c3c34a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x00005634d6655495 in  ()
[Inferior 1 (process 46030) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153457</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-09-16 21:28:38 +0000</bug_when>
    <thetext>No KDE code is implicated in the backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153836</commentid>
    <comment_count>2</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-09-18 01:55:11 +0000</bug_when>
    <thetext>Need debuginfo for qtdeclarative</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153837</commentid>
    <comment_count>3</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-09-18 02:08:47 +0000</bug_when>
    <thetext>(gdb) bt
#0  QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=0x6aa2800, receiver=0x917540, filteringParent=&lt;optimized out&gt;) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3211
#1  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, filteringParent=&lt;optimized out&gt;) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#2  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, filteringParent=&lt;optimized out&gt;) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#3  0x00007ffff7562599 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) (this=0x81ff30, event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, filteringParent=&lt;optimized out&gt;) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3314
#4  0x00007ffff7569412 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x81ff30, pointerEvent=0x6aa2800) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2002
#5  0x00007ffff756ac79 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=0x81ff30, event=0x6aa2800) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:2611
#6  0x00007ffff5864a15 in QWindow::event(QEvent*) (this=0xb9b810, ev=&lt;optimized out&gt;) at kernel/qwindow.cpp:2438
#7  0x00007ffff7f4039f in PlasmaQuick::Dialog::event(QEvent*) (this=0xb9b810, event=0x7fffffffd320) at /mnt/data/home/qydw/Develop/KDE/Frameworks/plasma-framework/src/plasmaquick/dialog.cpp:1609
#8  0x00007ffff61a341e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=&lt;optimized out&gt;, receiver=0xb9b810, e=0x7fffffffd320) at kernel/qapplication.cpp:3637
#9  0x00007ffff53f7fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xb9b810, event=0x7fffffffd320) at kernel/qcoreapplication.cpp:1064
#10 0x00007ffff58589b5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7fffe4007810) at kernel/qguiapplication.cpp:2282
#11 0x00007ffff582c33c in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#12 0x00007ffff4a71780 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=&lt;optimized out&gt;) at qeventdispatcher_glib.cpp:74
#13 0x00007ffff36fdeb0 in g_main_dispatch (context=0x7fffec005010) at ../glib/gmain.c:3417
#14 g_main_context_dispatch (context=context@entry=0x7fffec005010) at ../glib/gmain.c:4135
#15 0x00007ffff36fe268 in g_main_context_iterate (context=context@entry=0x7fffec005010, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4211
#16 0x00007ffff36fe2fc in g_main_context_iteration (context=0x7fffec005010, may_block=1) at ../glib/gmain.c:4276
#17 0x00007ffff544f456 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x53f690, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007ffff53f6a2b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7fffffffd650, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007ffff53feb96 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007ffff584be0c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#21 0x00007ffff61a3395 in QApplication::exec() () at kernel/qapplication.cpp:2829
#22 0x00000000004247bd in main(int, char**) (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /mnt/data/home/qydw/Develop/KDE/Plasma/plasma-workspace/shell/main.cpp:227</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153839</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-09-18 02:46:36 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 446111 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153861</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-09-18 07:39:36 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1155</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2155778</commentid>
    <comment_count>6</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-09-23 16:20:30 +0000</bug_when>
    <thetext>Git commit 0ff2170c473afd038432783c670288b04847d3e1 by Fushan Wen.
Committed on 23/09/2022 at 16:18.
Pushed by fusionfuture into branch &apos;master&apos;.

desktoppackage: port to QML Drag in AppletDelegate
FIXED-IN: 5.26

M  +168  -163  desktoppackage/contents/explorer/AppletDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/0ff2170c473afd038432783c670288b04847d3e1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>