<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a project: Frameworks.
</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/D7237" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This introduces a similar change to kiod5 that was already made to other comparable background applications:</p>
<p>1 the LSUIElement InfoDict key is set, causing the application to run like an "agent" (without Dock or AppSwitcher presence)<br />
2 in case of kiod5, this state has to be confirmed just before calling <tt style="background: #ebebeb; font-size: 13px;">QApplication::exec()</tt> (failure to do so disables text inputs in the dialogs the application may post)<br />
3 when a password dialog is posted the application (kiod5) is brought to the foreground instead of attaching the dialog to the application responsible for the request.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>works as intended on Mac, no change elsewhere.</p>
<p>It might be useful to include the functions used in 1) and 2) above in KWindowSystem to avoid unnecessary duplication (and having to introduce ditto ObjC files).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7237" rel="noreferrer">https://phabricator.kde.org/D7237</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kiod/CMakeLists.txt<br />
src/kiod/kiod_main.cpp<br />
src/kpasswdserver/kpasswdserver.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, Frameworks<br /><strong>Cc: </strong>kde-mac, dfaure, Frameworks<br /></div>