<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />Herald added a reviewer: jgrulich.<br />davidedmundson 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/D26462">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Plasma NM's KDED is loaded on boot, but effectively does nothing until<br />
the relevant plasmoid triggers the KDED.</p>
<p>This makes some sense for notifications and monitors, as it allows a<br />
user to opt of a UI plasma network manager experience.</p>
<p>However, we want the secret agent as early in the boot as possible.<br />
If a user is running NM, they definitely want this component active, and<br />
if NM isn't running then registering the agent will no-op anyway.</p>
<p>DBus logs show that with this patch, I am retrieving my password and<br />
a full 1500ms before org.kde.plasmanetworkmanagement.init is called and my initial wifi<br />
connected 3s faster than before this patch.</p>
<p>We could potentially move this kded to phase 0 and get us even earlier.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Had a wifi with security set to "Store password for this user only"<br />
Added dbus-monitor into my startup scripts</p>
<p>Logged in, wifi connected, logs showed a difference</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R116 Plasma Network Management Applet</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26462">https://phabricator.kde.org/D26462</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kded/service.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma, jgrulich<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>