<table><tr><td style="">romangg added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21082">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D21082#463700" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D21082#463700</a>, <a href="https://phabricator.kde.org/p/hoffmannrobert/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@hoffmannrobert</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>My goal is to make the screen configurations work reliably with notebooks, not to support a new use case. The use case is: work with a notebook docked and undocked, with and without external screen(s), lid open or closed.</p>

<p>The configurations work fine, if no notebook with a lid that can be opened or closed is involved.</p>

<p>But several users report, that they switch on their notebook (in docking station) in the morning, lid is closed, log in, and the external screens are swapped left and right again. Or only the empty background of the second screen is shown on the external monitor while the primary screen is on the closed integrated notebook screen.</p></div>
</blockquote>

<p>This is the real issue. Why are the screen positions scrambled around although there should be a config from before shutdown/suspend (not the lidOpened one), that has the current positions stored. Apparently this one has the wrong positions saved as well. You could check this in your config files.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>So they configure it again as needed, while the lid is closed. But there is already a lidOpened-configuration lurking around, waiting for the lid to be opened and to destroy the configuration previously made.</p>

<p>Where does the wrong lidOpened-configuration come from? I guess it's created automatically when the lid is open and a button on the OSD ("Extend to right" or so) is clicked. After closing the lid, this configuration is copied to "lidOpened".</p></blockquote>

<p>If between yesterday and in the morning they never opened the lid, there should still be a lidOpened-config from the last time yesterday they closed the lid.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>The situation described in the test plan is just a quick way to show what can go wrong and if that is fixed.</p></blockquote>

</div></div><br /><div><strong>REPOSITORY</strong><div><div>R104 KScreen</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21082">https://phabricator.kde.org/D21082</a></div></div><br /><div><strong>To: </strong>hoffmannrobert, Plasma, romangg<br /><strong>Cc: </strong>ngraham, romangg, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>