summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-06-29 13:43:37 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-06-30 08:58:05 +0200
commit6782748ca5ffa036de58cf9ad63d568703180390 (patch)
tree04368625ac41ab3d8192d33b340a020bfdc3d48e
parenttdf#141313 only hide Impress Remote option if there is no sdremote at all (diff)
downloadcore-6782748ca5ffa036de58cf9ad63d568703180390.tar.gz
core-6782748ca5ffa036de58cf9ad63d568703180390.zip
tdf#126961 fix access to the macOS address book
Having the personal-information.addressbook entitlement is not enough. Without the plist key NSContactsUsageDescription, macOS will not ask the user to grant access and the request is implicitly denied without any feedback/logging. Change-Id: I954fa86b35a128f08e5c498191bc0949e0edeebf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136619 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit ccf518a6fd2819e6a328e953d5e7356d8d9bd11f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136637 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sysui/desktop/macosx/Info.plist.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in
index e50d7a20c4dd..6593139019fc 100644
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1959,6 +1959,8 @@
<string>@MACOSX_DEPLOYMENT_TARGET@.0</string>
<key>NSHighResolutionCapable</key>
<true/>
+ <key>NSContactsUsageDescription</key>
+ <string>You can add your contacts as a data source for mail merge or similar operations.</string>
</dict>
</plist>
<!-- vim:set shiftwidth=4 softtabstop=4 expandtab: -->