sebas created this revision. sebas added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY Show the plasma OSD with icon "preferences-desktop-display-randr" and text when the display button has been pressed. When only one displays is connected, "No External Display" is connected. When more displays are connected, "Changing Screen Layout" is shown. This is pretty bare-bones, it doesn't show what kind of setup it will choose now, or next. This could be done by improving Generator, now, however. The problem is that when we're applying a new config, displays will flicker due to being mode-set, so the OSD isn't all that useful since the screens will settle down. It is useful in case of only one screen, since it gives feedback to a button that otherwise just appears do nothing. I think this could be enhanced in the future by giving the opportunity to pick a layout. For 5.8, this brings a noticeable improvement and lays the base for further work. TEST PLAN manually tested both cases (1 and 2 screens) REPOSITORY rKSCREEN KScreen BRANCH sebas/displaybuttonosd REVISION DETAIL https://phabricator.kde.org/D2718 AFFECTED FILES kded/daemon.cpp kded/daemon.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: sebas, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas