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.
Details
Details
- Reviewers
jgrulich - Group Reviewers
Plasma - Commits
- R116:871fd3dfe3e1: Don't keep a full NetworkModel instance alive when it's not visible
Tested by hand both with plasmoidviewer and a full plasmashell.
Diff Detail
Diff Detail
- Repository
- R116 Plasma Network Management Applet
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 12277 Build 12295: arc lint + arc unit
Comment Actions
Will this delay the full representation's ability to quickly display the network list when opened?
Comment Actions
Trying it locally I don't have the feeling that it's slower, networkmanager has the information internally after all.