D21501: Don't keep a full NetworkModel instance alive when it's not visible
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu May 30 16:32:56 BST 2019
apol created this revision.
apol added reviewers: Plasma, jgrulich.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
Herald added 1 blocking reviewer(s): jgrulich.
apol requested review of this revision.
REVISION SUMMARY
This was implemented as an optimisation in Plasma at some point, where all full
representations are displayed at all times.
This would mean doing synchronous calls at start querying every wifi connection
we ever did and keeping the view fresh at all times.
This patch changes it so the networks model is only present when the full
representation is on display.
TEST PLAN
Tested by hand both with plasmoidviewer and a full plasmashell.
REPOSITORY
R116 Plasma Network Management Applet
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D21501
AFFECTED FILES
applet/contents/ui/PopupDialog.qml
To: apol, #plasma, jgrulich
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190530/d3a32aa0/attachment-0001.html>
More information about the Plasma-devel
mailing list