D7237: KIO/Mac : make kiod5 an "agent"
René J.V. Bertin
noreply at phabricator.kde.org
Thu Aug 10 20:40:43 UTC 2017
rjvbb created this revision.
rjvbb added a project: Frameworks.
REVISION SUMMARY
This introduces a similar change to kiod5 that was already made to other comparable background applications:
1 the LSUIElement InfoDict key is set, causing the application to run like an "agent" (without Dock or AppSwitcher presence)
2 in case of kiod5, this state has to be confirmed just before calling `QApplication::exec()` (failure to do so disables text inputs in the dialogs the application may post)
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.
TEST PLAN
works as intended on Mac, no change elsewhere.
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).
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D7237
AFFECTED FILES
src/kiod/CMakeLists.txt
src/kiod/kiod_main.cpp
src/kpasswdserver/kpasswdserver.cpp
To: rjvbb, #frameworks
Cc: kde-mac, dfaure, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20170810/c8c122b1/attachment.html>
More information about the kde-mac
mailing list