<table><tr><td style="">fvogt created this revision.<br />fvogt added reviewers: Frameworks, jgrulich.<br />Herald added a project: Frameworks.<br />fvogt 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/D16471">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When the service is registered, the interfaces might not be available yet.<br />
So wait for those instead.</p>
<p>BUG: 400359</p>
<p>This is RFC because:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">I'm not sure whether it's guaranteed that InterfacesAdded is emitted on service registration as well or both connections are necessary</li>
<li class="remarkup-list-item">I don't know how it's possible to test this as org.kde.fakenetwork does not support the org.freedesktop.ObjectManager API</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Restarting NM while kded5 keeps running caused "nmcli up" to fail because of<br />
missing secrets.<br />
With this patch, it works successfully.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R282 NetworkManagerQt</div></div></div><br /><div><strong>BRANCH</strong><div><div>ifadded</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16471">https://phabricator.kde.org/D16471</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/manager.cpp<br />
src/manager_p.h<br />
src/secretagent.cpp<br />
src/secretagent.h<br />
src/secretagent_p.h</div></div></div><br /><div><strong>To: </strong>fvogt, Frameworks, jgrulich<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>