<?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>440643</bug_id>
          
          <creation_ts>2021-08-05 19:05:36 +0000</creation_ts>
          <short_desc>System Settings crashes after applying centered window placement</short_desc>
          <delta_ts>2021-08-05 20:59:05 +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.22.4</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="Unknown">null</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</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>2051553</commentid>
    <comment_count>0</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2021-08-05 19:05:36 +0000</bug_when>
    <thetext>Application: systemsettings5 (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.13.6-200.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.4
Distribution: Fedora 34 (KDE Plasma)

-- Information about the crash:
In System Settings I enabled the following option:

Window Management -&gt; Window Behaviour -&gt; Advanced -&gt; Window Placement -&gt; Centered

After pressing apply System Settings crashed.
I can recreate the crash, as it occurs every time.

The setting does actually get applied, even though the program crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0f18169f34 in QWaylandClientExtensionPrivate::handleRegistryGlobal(void*, wl_registry*, unsigned int, QString const&amp;, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#5  0x00007f0f18156419 in QtWaylandClient::QWaylandDisplay::registry_global(unsigned int, QString const&amp;, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#6  0x00007f0f181727c3 in QtWayland::wl_registry::handle_global(void*, wl_registry*, unsigned int, char const*, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#7  0x00007f0f15ad3c04 in ffi_call_unix64 () from /lib64/libffi.so.6
#8  0x00007f0f15ad3107 in ffi_call () from /lib64/libffi.so.6
#9  0x00007f0f180c3d10 in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#10 0x00007f0f180c442b in dispatch_event.isra () from /lib64/libwayland-client.so.0
#11 0x00007f0f180c461c in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#12 0x00007f0f1814e7a3 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#13 0x00007f0f1a764ce0 in void doActivate&lt;false&gt;(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f0f1a76743a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib64/libQt5Core.so.5
#15 0x00007f0f1a767c53 in QSocketNotifier::event(QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007f0f1b2fd423 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f0f1a731098 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f0f1a78311f in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#19 0x00007f0f184b94cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007f0f1850d4e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#21 0x00007f0f184b6c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007f0f1a782698 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#23 0x00007f0f1a72fab2 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#24 0x00007f0f1a737fe4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#25 0x000055b45010658c in main ()
[Inferior 1 (process 7080) detached]

Possible duplicates by query: bug 440616, bug 440460, bug 440438, bug 439808, bug 439672.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051566</commentid>
    <comment_count>1</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2021-08-05 20:59:05 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>