You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
When using [NSFileManager trashItemAtURL:resultingItemURL:error:], the originating path is not stored in the .DS_Store file, causing the Put Back option not to be shown for programmatically trashed files.
Steps to Reproduce:
Create a file called foobar, then compile and run the below:
Description
Summary:
When using
[NSFileManager trashItemAtURL:resultingItemURL:error:]
, the originating path is not stored in the .DS_Store file, causing thePut Back
option not to be shown for programmatically trashed files.Steps to Reproduce:
Create a file called
foobar
, then compile and run the below:Then go to the Trash, right-click the
foobar
file, and notice how "Put Back" is not there.Expected Results:
I expected the
foobar
file in the trash to show thePut Back
context menu option.Actual Results:
The
Put Back
menu item is missing and the file doesn't show up in.DS_Store
.Version:
10.14
Notes:
It's reproducible with macOS 10.14 beta 3 and all the way back to at least 10.11.
More info: sindresorhus/macos-trash#4
Product Version: 10.14
Created: 2018-07-06T04:50:32.286200
Originated: 2018-07-06T11:50:00
Open Radar Link: http://www.openradar.me/41878624
The text was updated successfully, but these errors were encountered: