<table><tr><td style="">sebas created this revision.<br />sebas added a reviewer: Plasma.<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/D2718" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Show the plasma OSD with icon "preferences-desktop-display-randr" and<br />
text when the display button has been pressed.</p>

<p>When only one displays is connected, "No External Display" is connected.<br />
When more displays are connected, "Changing Screen Layout" is shown.</p>

<p>This is pretty bare-bones, it doesn't show what kind of setup it will<br />
choose now, or next. This could be done by improving Generator, now,<br />
however. The problem is that when we're applying a new config, displays<br />
will flicker due to being mode-set, so the OSD isn't all that useful<br />
since the screens will settle down.<br />
It is useful in case of only one screen, since it gives feedback to a<br />
button that otherwise just appears do nothing.</p>

<p>I think this could be enhanced in the future by giving the opportunity<br />
to pick a layout. For 5.8, this brings a noticeable improvement and lays<br />
the base for further work.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>manually tested both cases (1 and 2 screens)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKSCREEN KScreen</div></div></div><br /><div><strong>BRANCH</strong><div><div>sebas/displaybuttonosd</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2718" rel="noreferrer">https://phabricator.kde.org/D2718</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kded/daemon.cpp<br />
kded/daemon.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>sebas, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>