D18896: [plasma-nm] Refresh wifi networks as fast as possible

Valerio Pilo noreply at phabricator.kde.org
Sun Feb 10 14:44:56 GMT 2019


vpilo created this revision.
vpilo added reviewers: jgrulich, ngraham, Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
Herald added 1 blocking reviewer(s): jgrulich.
vpilo requested review of this revision.

REVISION SUMMARY
  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.
  
  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.

TEST PLAN
  - First enable debug logging, there is no UI feedback
  - Tested opening/closing the applet every now and then: wifis are scanned as early as NM allows
  - Tested switching to the NM KCM, then switching to the applet, then to the KCM again: wifis are always scanned as early as allowed

REPOSITORY
  R116 Plasma Network Management Applet

BRANCH
  vpilo/wifiRefresh (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D18896

AFFECTED FILES
  applet/contents/ui/main.qml
  kcm/kcm.cpp
  libs/handler.cpp
  libs/handler.h
  mobile/wifi/package/contents/ui/main.qml

To: vpilo, jgrulich, ngraham, #plasma
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190210/ff1ca42c/attachment-0001.html>


More information about the Plasma-devel mailing list