<?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>438267</bug_id>
          
          <creation_ts>2021-06-08 16:07:23 +0000</creation_ts>
          <short_desc>Crash after disable the screen (wayland)</short_desc>
          <delta_ts>2021-06-08 19:51:54 +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>kcm_kscreen</component>
          <version>5.21.90</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>437384</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Bruno">baito30</reporter>
          <assigned_to name="kscreen-bugs-null@kde.org">kscreen-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>plasma-bugs-null</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>2038570</commentid>
    <comment_count>0</comment_count>
    <who name="Bruno">baito30</who>
    <bug_when>2021-06-08 16:07:23 +0000</bug_when>
    <thetext>SUMMARY
My notebook is connected with an external monitor. When i disable one screen, &quot;System Settings&quot; app crash.

STEPS TO REPRODUCE
1. start a Plasma session on Wayland
2. open &quot;System Settings&quot; and go to &quot;Display and monitor&quot;-&gt;&quot;Display Configuration&quot;
3. Disable one screen

OBSERVED RESULT
Crash

EXPECTED RESULT
Screen disable

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-18-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 9,6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400

ADDITIONAL INFORMATION
Application: System Settings (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f103f956791 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#5  0x00007f103d938249 in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
#6  0x00007f103d937639 in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
#7  0x00007f103f8c4a2e in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#8  0x00007f103f8c512b in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#9  0x00007f103f8c531c in wl_display_dispatch_queue_pending () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#10 0x00007f103f94af83 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#11 0x00007f1042035670 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f1042038c53 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f1042039483 in QSocketNotifier::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f1042bf2783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f1041ffd82a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f1042057e75 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f103fc1e8eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f103fc71d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f103fc1c023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1042057274 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f1041ffc18b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f1042004674 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x0000556a15f7b58b in ?? ()
#24 0x00007f1041968565 in __libc_start_main (main=0x556a15f7aa20, argc=1, argv=0x7ffff5ed8f88, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffff5ed8f78) at ../csu/libc-start.c:332
#25 0x0000556a15f7c1ee in ?? ()
[Inferior 1 (process 5962) detached]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038685</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-06-08 19:51:54 +0000</bug_when>
    <thetext>Should be fixed in the final release of 5.22.

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

    </bug>

</bugzilla>