Thanks again for the hints. In the meantime I have found out that it seems like legacyScreenSaver under macOS 10.15.0 does not have the right entitlements. I get this log message:
legacyScreenSaver: (AppKit) [com.apple.AppKit:OpenSavePanels] ERROR: Unable to display open panel: your app is missing the User Selected File Read app sandbox entitlement. Please ensure that your app's target capabilities include the proper entitlements. which makes [NSOpenPanel runModal] return immediately with NSModalResponseCancel, at least that is what happens. Is there anything I can do about it? As far as I understand, the entitlements are predefined by legacyScreenSaver, not by my screensaver (which is kind of a plugin in legacyScreenSaver, if i understand correctly). Best regards, Gabriel > On 25. May 2021, at 21:54, Rob Petrovec <petr...@mac.com> wrote: > > AppKit is pretty good at logging failures like this. I would look for > messages in the system.logs (or better yet from a sysdiagnose archive) from > your process as well as com.apple.appkit.xpc.openAndSavePanelService (the > process that actually shows the open/save panel). See if there are any logs > around the time of the failure that could shed some light on what happened. > Good luck. > > —Rob > > > >> On May 25, 2021, at 1:06 AM, Gabriel Zachmann via Cocoa-dev >> <cocoa-dev@lists.apple.com> wrote: >> >> Yes, I am suspecting a bug in macOS , too, since exactly the same code works >> fine under 10.15.2+ >> Problem is, though, that the user says he cannot upgrade his macOS 10.15.0 >> to something higher. >> (don't know why) >> >> Best regards, Gabriel >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/petrock%40mac.com >> >> This email sent to petr...@mac.com >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com