<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/D28115">View Revision</a></tr></table><br /><div><div><p>So I think of two things to consider:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">How is the overall interaction? Do we want something in line with other systems? Then we should have a lock/unlock rotation workflow where the current rotation orientation is made permanent until the icon is tapped again. <a href="https://www.wikihow.tech/Lock-Screen-Orientation-on-Android" class="remarkup-link" target="_blank" rel="noreferrer">Android</a> and <a href="https://askubuntu.com/questions/803845/what-process-is-responsible-for-auto-screen-rotation-i-want-to-disable-it-on-1" class="remarkup-link" target="_blank" rel="noreferrer">GNOME</a> do it like this.</li>
<li class="remarkup-list-item">To make this consistent with the KScreen KCM the values should be written to the control file. I.e. your <tt style="background: #ebebeb; font-size: 13px;">KScreenDaemon::setAutoRotation</tt> method should call into <tt style="background: #ebebeb; font-size: 13px;">ControlConfig::setAutoRotate</tt>. Then it would just change for example when you lock the rotation from auto to manual and the current rotation value is set anyway.</li>
</ul></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/D28115">https://phabricator.kde.org/D28115</a></div></div><br /><div><strong>To: </strong>bshah, romangg<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>