Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads
Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads
- Subject: Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads
- From: "Gary L. Wade via Cocoa-dev" <email@hidden>
- Date: Sun, 19 Apr 2020 11:04:03 -0700
Regardless of whatever workaround you find, I would second Rob’s suggestion to
go ahead and file a bug with a sysdiagnose and/or spindump along with a sample
app that reproduces it. This isn’t expected behavior, and the teams at Apple
are still working and would be very interested in seeing this. Once filed, if
you do find a workaround, you can append that to the bug.
--
Gary L. Wade
http://www.garywade.com/ <http://www.garywade.com/>
> On Apr 19, 2020, at 10:58 AM, Allan Odgaard via Cocoa-dev
> <email@hidden> wrote:
>
> On 20 Apr 2020, at 0:37, Rob Petrovec wrote:
>
>> >> I think you are right about this being a permission / “sandbox” issue,
>> >> because the 3 folders in question are all folders that macOS 10.15 now
>> >> require special permission to read (even though in my case, I just
>> >> request their display name).
>> Yes, this is because of iCloud. Log out of iCloud and it should go
>> away as I suggested in my first reply. You could also grant your app full
>> disk access and that might ‘fix’ it for you too. But your users would
>> probably not want to do that.
>
> As written previously, there is no delay when running from terminal, and
> ~/Downloads is also causing a delay, which is not stored on iCloud.
>
> So this very much seems to be about Apple’s file system access policies where
> permission must be obtained to access certain folders.
>
> But as mentioned, I have given my app full disk access, reset permissions,
> and I have even signed and notarized the app: Still no fix for the delay.
>
> To indulge you, I have now also tried to log out of iCloud: Still a delay.
>
> Now I would very much appreciate if someone would try the code I included in
> my original email to see if this is a general problem, or something limited
> to my system.
>
> As I think I mentioned, I am running a fairly clean install of macOS 10.15.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
References: | |
| >Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads (From: Allan Odgaard via Cocoa-dev <email@hidden>) |
| >Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads (From: "David M. Cotter via Cocoa-dev" <email@hidden>) |
| >Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads (From: Allan Odgaard via Cocoa-dev <email@hidden>) |
| >Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads (From: Rob Petrovec via Cocoa-dev <email@hidden>) |
| >Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads (From: Allan Odgaard via Cocoa-dev <email@hidden>) |