<table><tr><td style="">liushuyu created this revision.<br />liushuyu added a reviewer: VDG.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />liushuyu requested review of this revision.
</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/D25539">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Add a revert timer and an option for the user to revert the settings when they accidentally messed up the settings and unable to see the screen.</p>
<p>The current implementation is very rudimentary, a message box is shown and the text is static (no countdown in the dialog box).</p>
<p><a href="https://phabricator.kde.org/F7784367" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F7784367: 2019-11-25_20-46.png</a></p>
<p><a href="https://phabricator.kde.org/F7784366" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F7784366: 2019-11-25_20-46_1.png</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open the System Settings and navigate to the "Display and Monitor" -> "Display Configuration."</li>
<li class="remarkup-list-item">Change any settings and hit Apply.</li>
<li class="remarkup-list-item">Don't click on the pop-up, wait for 10 seconds and see if the changes will be reverted and the dialog box closed.</li>
<li class="remarkup-list-item">Repeat step 1 to step 2 and this time, click "cancel" and see if the changes will be reverted and the dialog box closed.</li>
<li class="remarkup-list-item">Repeat step 1 to step 2 but this time click "save" and see if the changes will be saved and the dialog box closed, wait for 10 seconds to see if the changes are still retained.</li>
</ol></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/D25539">https://phabricator.kde.org/D25539</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcm/config_handler.cpp<br />
kcm/config_handler.h<br />
kcm/kcm.cpp<br />
kcm/kcm.h<br />
kcm/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>liushuyu, VDG<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>