<table><tr><td style="">vpilo created this revision.<br />vpilo added reviewers: jgrulich, ngraham, Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />Herald added 1 blocking reviewer(s): jgrulich.<br />vpilo 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/D18896">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current 15s timeout is really annoyingly long, but unfortunately, 12s is as fast as we can get: NM has a 10s hard timeout, plus 2s is how long many devices seem to take to perform a scan.</p>

<p>Added a retry on failure to prevent unnecessarily long waiting times before the next scab. This usually happens when closing and reopening the applet, or when a scan was started by another component before opening the applet.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">First enable debug logging, there is no UI feedback</li>
<li class="remarkup-list-item">Tested opening/closing the applet every now and then: wifis are scanned as early as NM allows</li>
<li class="remarkup-list-item">Tested switching to the NM KCM, then switching to the applet, then to the KCM again: wifis are always scanned as early as allowed</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R116 Plasma Network Management Applet</div></div></div><br /><div><strong>BRANCH</strong><div><div>vpilo/wifiRefresh (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18896">https://phabricator.kde.org/D18896</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applet/contents/ui/main.qml<br />
kcm/kcm.cpp<br />
libs/handler.cpp<br />
libs/handler.h<br />
mobile/wifi/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>vpilo, jgrulich, ngraham, Plasma<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>