<?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>362910</bug_id>
          
          <creation_ts>2016-05-10 21:57:54 +0000</creation_ts>
          <short_desc>No panel after removing laptop from docking station, two panels after adding one</short_desc>
          <delta_ts>2016-07-17 11:54:13 +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>generic-multiscreen</component>
          <version>5.5.5</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>356225</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jens Müller">blog</reporter>
          <assigned_to name="Aleix Pol">aleixpol</assigned_to>
          <cc>bugs.kde.org</cc>
    
    <cc>kde</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>1593652</commentid>
    <comment_count>0</comment_count>
    <who name="Jens Müller">blog</who>
    <bug_when>2016-05-10 21:57:54 +0000</bug_when>
    <thetext>I am using KDE on Ubuntu 16.04 (plasma-desktop has Version: 4:5.5.5-0ubuntu1).

My machine is a laptop which I am using either in a docking station with two external screens, or undocked with just the internal screen. I somehow managed to disable the internal screen when undocked, and this setting seems to get remembered. Before (on Ubuntu 15.10), I used to have very weird problems when undocking the laptop -- these seem to be gone now.

But I still have a minor problem: When I undock the laptop, all windows are shown on the internal screen. So far, so good. But unfortunately, no panel is shown. I usually solve this by minimizing all windows so that the desktop is shown, then right-clicking and choosing New Panel &gt; Default. However, I then have _two_ panels, on at the bottom and one at the top of the screen. I can then right-click on the one I don&apos;t want and remove it, and afterwards everything is fine. Still, this is a wee bit annoying ...

Reproducible: Always

Steps to Reproduce:
1. Laptop is in docking station, with two external screens.
2. Remove laptop from docking station, open lid.
 
3. Minimize windows so that desktop is visible.
4. Right-click, add default panel

Actual Results:  
After step 2: No panel is visible.

After step 4: Two panels are visible (at the top and at the bottom)

Expected Results:  
After step 2: One panel should be visible.

After step 4: Only one panel should be added, not two.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608534</commentid>
    <comment_count>1</comment_count>
    <who name="Piotr Dobrogost">bugs.kde.org</who>
    <bug_when>2016-07-16 10:04:53 +0000</bug_when>
    <thetext>&gt; After step 4: Only one panel should be added, not two.
I guess only one panel is really added and the other one is the one moved from – now disconnected – external screen.

I think this could be marked as a duplicate of bug #356225.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608552</commentid>
    <comment_count>2</comment_count>
    <who name="Jens Müller">blog</who>
    <bug_when>2016-07-16 11:06:03 +0000</bug_when>
    <thetext>Hi Piotr,

yes, the first part definitely is.

But do you also have a possible explanation for the second part, that when adding a panel on the screen where it is missing, there suddenly are two panels on that screen (at the bottom and additionally at the top of the screen)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608627</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2016-07-16 18:16:25 +0000</bug_when>
    <thetext>it&apos;s a bit odd, but clearly related to this code needing a properly thought through rewrite.

In any case can you attach your  ~/.config/plasma-org.kde.plasma.desktop-appletsrc
to the linked bug.

(it shouldn&apos;t any personal data in, but you might want to check it first)

*** This bug has been marked as a duplicate of bug 356225 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608709</commentid>
    <comment_count>4</comment_count>
    <who name="Piotr Dobrogost">bugs.kde.org</who>
    <bug_when>2016-07-17 11:54:13 +0000</bug_when>
    <thetext>(In reply to Jens Müller from comment #0)
&gt; 
&gt; I somehow
&gt; managed to disable the internal screen when undocked, and this setting seems
&gt; to get remembered.

So you have no screen at all when undocked. :) I guess it was supposed to be &quot;when docked&quot; instead, yes?

(In reply to Jens Müller from comment #2)
&gt; 
&gt; yes, the first part definitely is.

Not sure what you mean by &quot;the first part&quot;.
 
&gt; But do you also have a possible explanation for the second part, that when
&gt; adding a panel on the screen where it is missing, there suddenly are two
&gt; panels on that screen (at the bottom and additionally at the top of the
&gt; screen)?

I can only guess that adding a new panel somehow reinitializes all existing ones and due to another bug the already existing panel is moved to the top of the screen, where you added a new panel.

One thing to note is that you want to run the latest KDE as there were some changes to multi-monitor management in 5.7.0 (see link to blog in bug #356225 for details). However it seems these changes did not resolve multiple problems in this area.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>