<table><tr><td style="">elvisangelaccio created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D4705" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>ConnectionEditorBase::initialize() does not count the number of pending dbus<br />
replies, so it is currently assuming that if control reaches the end of the<br />
function, we are not waiting for secrets and we can claim the kcm is<br />
initialized. That is not necessarily true, as bug #376739 shows.</p>

<p>If we count the number of replies actually received, we can be sure that there<br />
are no more pending replies and we can then set m_initialized to true at the<br />
end of initialize().</p>

<p>BUG: 376739<br />
FIXED-IN: 5.9.3</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open Connection KCM from systemsettings5, no longer had the Apply button<br />
enabled. Playing with the KCM still enables the Apply button if something is<br />
changed.</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>Plasma/5.9</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4705" rel="noreferrer">https://phabricator.kde.org/D4705</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libs/editor/connectioneditorbase.cpp<br />
libs/editor/connectioneditorbase.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>elvisangelaccio, jgrulich<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>