<table><tr><td style="">mart created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D5323" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>this is for the following setup:<br />
the primary screen is at position 0,0 and gets disconnected.<br />
the other screen will be moved at 0,0 and becomes primary</p>

<p>the screen is reconnected, the events arrive in the followin order:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">a new screen gets added, at 0,0 position (not primary yet, it may be markedredundant)</li>
<li class="remarkup-list-item">the screen becomes primary, both screens still at 0,0</li>
<li class="remarkup-list-item">the old screen gets moved out of the way</li>
</ol>

<p>in the end result none of the two need to be redundant.<br />
adding the old one in the redundant list, will cause reconsideroutputs<br />
to consider it and create a view for it.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>added and removed sevaral times a primary screen at 0,0</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/screenDance</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5323" rel="noreferrer">https://phabricator.kde.org/D5323</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/shellcorona.cpp</div></div></div><br /><div><strong>To: </strong>mart, Plasma, broulik, sebas<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>