<table><tr><td style="">ksmanis created this revision.<br />ksmanis added reviewers: Plasma, VDG.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />ksmanis 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/D29130">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently, the "Shown when relevant" visibility option in the system<br />
tray shows an icon iff at least one vault exists, regardless of open<br />
status (i.e., if it is open or closed). Change this behavior to show an<br />
icon iff at least one *open* vault exists, allowing the user to be more<br />
mindful of potentially sensitive information being accessible.</p>

<p>The previous behavior can be emulated by selecting the "Always shown"<br />
visibility option, assuming that the user does not create and delete<br />
Plasma Vaults for recreation.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Compiles and runs as expected both on master (commit <a href="https://phabricator.kde.org/R845:4d11dcffd65c5b98e10678fe904baa789f89bc2f" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">4d11dcf</a>) and<br />
Plasma/5.18 (commit <a href="https://phabricator.kde.org/R845:1f546c1d6c3f20fcab8ee4b9d2d4090ecf17dc75" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">1f546c1</a>).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R845 Plasma Vault</div></div></div><br /><div><strong>BRANCH</strong><div><div>applet-systray-relevance (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29130">https://phabricator.kde.org/D29130</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plasma/package/contents/ui/main.qml<br />
plasma/vaultsmodel.cpp<br />
plasma/vaultsmodel.h<br />
plasma/vaultsmodel_p.h</div></div></div><br /><div><strong>To: </strong>ksmanis, Plasma, VDG<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>