<?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>437302</bug_id>
          
          <creation_ts>2021-05-18 12:32:10 +0000</creation_ts>
          <short_desc>Plasma crashses after adding &quot;Application Menu&quot; as titlebar button to titlebar</short_desc>
          <delta_ts>2021-05-19 02:29:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>general</component>
          <version>5.21.90</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>414834</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kiril Vladimirov">kiril</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</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>2033633</commentid>
    <comment_count>0</comment_count>
    <who name="Kiril Vladimirov">kiril</who>
    <bug_when>2021-05-18 12:32:10 +0000</bug_when>
    <thetext>Application: systemsettings5 (5.21.90)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.11.12-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.90
Distribution: &quot;Fedora release 35 (Rawhide)&quot;

-- Information about the crash:
- What I was doing when the application crashed:

1. Open System Settings -&gt; Appearance -&gt; Window decorations -&gt; Titlebar Buttons
2. Drag &quot;Application menu&quot; to the titlebar
3. Click &quot;Apply&quot;

Plasma crashes, even though the button is added and functional afterwards.

The crash can be reproduced every time.

-- Backtrace:
Application: Системни настройки (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f58f9939940 (LWP 12229))]
[KCrash Handler]
#6  0x00007f58fc365ec4 in QWaylandClientExtensionPrivate::handleRegistryGlobal (data=0x5598ae860c70, registry=0x5598ac671430, id=47, interface=..., version=1) at global/qwaylandclientextension.cpp:67
#7  0x00007f58fc3523d9 in QtWaylandClient::QWaylandDisplay::registry_global (this=&lt;optimized out&gt;, id=&lt;optimized out&gt;, interface=..., version=&lt;optimized out&gt;) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwaylanddisplay.cpp:397
#8  0x00007f58fc36e753 in QtWayland::wl_registry::handle_global (data=0x5598ac66d120, object=&lt;optimized out&gt;, name=47, interface=0x5598aed0b4d0 &quot;org_kde_kwin_blur_manager&quot;, version=1) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwayland-wayland.cpp:94
#9  0x00007f58f9cffc04 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#10 0x00007f58f9cff107 in ffi_call (cif=cif@entry=0x7ffe26329790, fn=&lt;optimized out&gt;, rvalue=&lt;optimized out&gt;, rvalue@entry=0x0, avalue=avalue@entry=0x7ffe26329860) at ../src/x86/ffi64.c:525
#11 0x00007f58fc2bfd10 in wl_closure_invoke (closure=closure@entry=0x5598aed0b3f0, target=&lt;optimized out&gt;, target@entry=0x5598ac671430, opcode=opcode@entry=0, data=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at ../src/connection.c:1018
#12 0x00007f58fc2c042b in dispatch_event (display=display@entry=0x5598ac6712e0, queue=&lt;optimized out&gt;, queue=&lt;optimized out&gt;) at ../src/wayland-client.c:1452
#13 0x00007f58fc2c061c in dispatch_queue (queue=0x5598ac6713b0, display=0x5598ac6712e0) at ../src/wayland-client.c:1598
#14 wl_display_dispatch_queue_pending (display=0x5598ac6712e0, queue=0x5598ac6713b0) at ../src/wayland-client.c:1840
#15 0x00007f58fc34a7a3 in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x5598ac66d110) at /usr/src/debug/qt5-qtwayland-5.15.2-6.fc35.x86_64/src/client/qwaylanddisplay.cpp:222
#16 0x00007f58fe941ce0 in doActivate&lt;false&gt; (sender=0x5598ac66fa50, signal_index=3, argv=0x7ffe26329b30) at kernel/qobject.cpp:3898
#17 0x00007f58fe93cc27 in QMetaObject::activate (sender=sender@entry=0x5598ac66fa50, m=m@entry=0x7f58febe1440 &lt;QSocketNotifier::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe26329b30) at kernel/qobject.cpp:3946
#18 0x00007f58fe94443a in QSocketNotifier::activated (this=this@entry=0x5598ac66fa50, _t1=..., _t2=&lt;optimized out&gt;, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#19 0x00007f58fe944c53 in QSocketNotifier::event (this=0x5598ac66fa50, e=0x7ffe26329c30) at kernel/qsocketnotifier.cpp:302
#20 0x00007f58ff4d9423 in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x5598ac66fa50, e=0x7ffe26329c30) at kernel/qapplication.cpp:3632
#21 0x00007f58fe90e098 in QCoreApplication::notifyInternal2 (receiver=0x5598ac66fa50, event=0x7ffe26329c30) at kernel/qcoreapplication.cpp:1063
#22 0x00007f58fe96011f in socketNotifierSourceDispatch (source=0x5598ac6a11b0) at kernel/qeventdispatcher_glib.cpp:107
#23 0x00007f58fc5f84cf in g_main_dispatch (context=0x5598ac6daf20) at ../glib/gmain.c:3337
#24 g_main_context_dispatch (context=0x5598ac6daf20) at ../glib/gmain.c:4055
#25 0x00007f58fc64c4e8 in g_main_context_iterate.constprop.0 (context=context@entry=0x5598ac6daf20, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4131
#26 0x00007f58fc5f5c03 in g_main_context_iteration (context=0x5598ac6daf20, may_block=1) at ../glib/gmain.c:4196
#27 0x00007f58fe95f698 in QEventDispatcherGlib::processEvents (this=0x5598ac6f0810, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f58fe90cab2 in QEventLoop::exec (this=this@entry=0x7ffe26329ea0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f58fe914fe4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00005598ac60c58c in main (argc=&lt;optimized out&gt;, argv=0x7ffe26329fc0) at /usr/src/debug/plasma-systemsettings-5.21.90-1.fc35.x86_64/app/main.cpp:208
[Inferior 1 (process 12229) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2033911</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-05-19 02:29:35 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 414834 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>