<?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>447728</bug_id>
          
          <creation_ts>2021-12-31 09:27:06 +0000</creation_ts>
          <short_desc>When disconnecting my laptop from my single external monitor (via docking station using &quot;External Display Only&quot; option), my panels disappear. Only an issue on disconnect.</short_desc>
          <delta_ts>2022-01-23 22:23:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>wayland-generic</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>447936</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>geminiportkey</reporter>
          <assigned_to name="KWin default assignee">kwin-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>2089197</commentid>
    <comment_count>0</comment_count>
    <who name="">geminiportkey</who>
    <bug_when>2021-12-31 09:27:06 +0000</bug_when>
    <thetext>When disconnecting my laptop from my single external monitor (via docking station using &quot;External Display Only&quot; option), my panels disappear. Only an issue on disconnect. 

My windows do not close, and I can open up new windows using krunner, and keyboard shortcuts (like CTRL + ALT + T for Konsole). 

There&apos;s two ways I&apos;ve been trying to work around this, and neither are ideal. 

1. kwin_wayland --replace. This brings everything back (panels) on my laptop screen, but has the annoyance of closing every single open application. In addition, when I run this, and try to connect to my monitor again, my monitor shows its recieving a signal but shows a black screen. I know that data is going over the Type-C cable to my docking station because my keyboard is lit up and if I use the VolUp/VolDown keys on my keyboard, I can hear the &quot;droplet&quot; sound coming out of my speakers (which are also connected to the docking station). This behavior does not change/get better unless I reboot. 


2. kquitapp5 plasmashell &amp;&amp; kstart5 plasmashell &amp; in a terminal. This brings everything back, without closing all my windows, but the behavior with the external monitor is the same as #1. Nothing gets my external monitor working again until I reboot. 

Things to note; 

- This does not happen with the X11 session

- I notice that if I press the &quot;Identify&quot; button in the Display Configuration page when the laptop is connected to my monitor (set to external only), both the laptop screen and the external monitor screen &quot;show up&quot; on the external monitor screen. Please see bugreport-screen1-identify.png. I suspect this is problematic and I should not be seeing that &quot;laptop screen&quot; red box in the top left section of my external monitor. 

- I notice that if I had the Display Configuration window open on the external monitor, and then I unplug the laptop from the monitor, the Display Configuration window says &quot;(Not Respondig)&quot; in the titlebar, and I have to click the &quot;X&quot; several times to close it. 

- A reboot allows me to use my monitor (and everything else connected to the dock) flawlessly, at 60hz and native resolution (3840x1600). 

- I am currently running the linux-zen kernel, but on a clean install with the standard kernel, I notice the same behavior. 

- I have never filed a KDE bug report before, so if there&apos;s any information lacking, please let me know and I will be more than happy to provide it. 

Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-zen1-1-zen (64-bit) (tested with standard non-zen kernel, same behavior)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800U with Radeon Graphics
Memory: 13.6 GiB of RAM
Graphics Processor: AMD RENOIR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089198</commentid>
    <comment_count>1</comment_count>
    <who name="">geminiportkey</who>
    <bug_when>2021-12-31 09:29:52 +0000</bug_when>
    <thetext>Due to the filesize of my screenshot, I&apos;ve uploaded the image &quot;bugreport-screen1-identify.png&quot; here: https://i.imgur.com/8VcOuLf.jpg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2092399</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-12 01:47:30 +0000</bug_when>
    <thetext>Should be already fixed in Plasma 5.24!

*** This bug has been marked as a duplicate of bug 447936 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097328</commentid>
    <comment_count>3</comment_count>
    <who name="">geminiportkey</who>
    <bug_when>2022-01-23 22:02:06 +0000</bug_when>
    <thetext>I can confirm. Thank you Nate, not only is this issue fixed with the latest KDE, but the transition between laptop to external monitor has been ROCK solid. Incredible difference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097335</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-23 22:23:54 +0000</bug_when>
    <thetext>Don&apos;t thank me, thank Marco Martin! It was his work. I&apos;m glad it&apos;s better for you now!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>