<table><tr><td style="">pdabrowski updated this revision to Diff 78315.<br />pdabrowski edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-aragq4dohojeffw/">(Show Details)</a><br />pdabrowski edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-5p2ra2eytlaslnb/">(Show Details)</a>
</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/D27972">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>- in "Always on" manual mode: when active (not inhibited)<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Current behavior:<br />
<br />
| Mode | Condition | tray icon when Active | tray icon when Inhibited |<br />
| ------------------ | ----------------------------------- | --------------------- | ------------------------ |<br />
| Timed | daytime | hidden | visible |<br />
| Timed | transitioning period to warm colors | visible | visible |<br />
| Timed | nighttime | visible | visible |<br />
| Timed | transitioning period back to normal | hidden [1] | visible |<br />
| Always on (manual) | - | visible | visible [2] |<br />
<br />
[1] this is a bug, icon should be visible here, just like when transitioning to warm colors<br />
[2] why? this duplicates the behavior for "Always shown" tray icon, giving user no choice<br />
<br />
New behavior:<br />
<br />
| Mode | Condition | tray icon when Active | tray icon when Inhibited |<br />
| ------------------ | ----------------------------------- | --------------------- | ------------------------ |<br />
| Timed | daytime | hidden | visible |<br />
| Timed | transitioning period to warm colors | visible | visible |<br />
| Timed | nighttime | visible | visible |<br />
| Timed | transitioning period back to normal | VISIBLE [1] | visible |<br />
| Always on (manual) | - | visible | HIDDEN [2] |<br />
<br />
UPPERCASE = changed bahavior<br />
[1] fixed<br />
[2] now, with simple tray icon configuration, user can decide if the icon is visible or not here<br />
<br />
In all other cases (!monitor.available / !monitor.enabled / !monitor.running) the icon should obviously be hidden.<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D27972?vs=77473&id=78315">https://phabricator.kde.org/D27972?vs=77473&id=78315</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27972">https://phabricator.kde.org/D27972</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/nightcolor/package/contents/ui/main.qml<br />
applets/nightcolor/plugin/monitor.cpp<br />
applets/nightcolor/plugin/monitor.h<br />
applets/nightcolor/plugin/monitor_p.h</div></div></div><br /><div><strong>To: </strong>pdabrowski, Plasma, zzag, ngraham, VDG<br /><strong>Cc: </strong>broulik, 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>