<table><tr><td style="">bruns created this revision.<br />bruns added reviewers: Plasma, broulik, ngraham.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />bruns 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/D22312">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Ejecting e.g. a USB stick removes it from the bus (bus power is removed),<br />
but the last notification should be kept, otherwise a message like<br />
"The device can be savely removed" immediately disappears.</p>

<p>Unfortunately it is almost impossible to tell when a device has been<br />
physically removed (only indirectly, when a new device is plugged into<br />
the same port), so allow some small leakage - in case the same device is<br />
later replugged, no leakage happens.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Card reader:<br />
1.insert medium, mount, unmount</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">-> message "Device can be savely removed" is shown in device notifier</pre></div>

<p>for 5 seconds</p>

<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">eject medium, reinsert -> device appears without message and with default label</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>cleanup_devicenotifier</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22312">https://phabricator.kde.org/D22312</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>dataengines/devicenotifications/ksolidnotify.cpp</div></div></div><br /><div><strong>To: </strong>bruns, Plasma, broulik, ngraham<br /><strong>Cc: </strong>plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>