Right-click image, save Image to "Downloads": Resulting file is missing metadata compared with File->Save or drag and drop.
Originator: | indiekiduk | ||
Number: | rdar://FB9065327 | Date Originated: | 2/4/2021 |
Status: | Open | Resolved: | No |
Product: | macOS Safari | Product Version: | 14.0.3 (16610.4.3.1.7) |
Classification: | Bug | Reproducible: | Always |
macOS 11.2.3 (20D91) Safari Version 14.0.3 (16610.4.3.1.7) Below are the steps but please also see the attached screen recording. Launch Safari and go to this URL that shows an album art image: https://images-na.ssl-images-amazon.com/images/I/91%2BL98knrOL._AC_SL1500_.jpg Right click the image and select Save Image to Downloads. Launch terminal and we will check its attributes: mh@malcs-imac ~ % xattr -l ~/Downloads/91+L98knrOL._AC_SL1500_.jpg com.apple.quarantine: 0083;6066f9f0;com.apple.Safari.SandboxBroker.xpc;F8DC8794-D0C9-4709-BA06-E8CFA97483A4 It only shows the quarantine metadata but we were expecting much more, e.g. the URL the image was downloaded from, which is the one I'm mostly interested in. Lets compare that to File->Save or Drag and dropping the image from the webpage into the downloads folder: com.apple.lastuseddate#PS: 00000000 BE F9 66 60 00 00 00 00 A9 D4 63 2C 00 00 00 00 |..f`......c,....| 00000010 com.apple.metadata:kMDItemDownloadedDate: 00000000 62 70 6C 69 73 74 30 30 A1 01 33 41 C3 0B 98 9F |bplist00..3A....| 00000010 42 8D C1 08 0A 00 00 00 00 00 00 01 01 00 00 00 |B...............| 00000020 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |................| 00000030 00 00 00 00 13 |.....| 00000035 com.apple.metadata:kMDItemWhereFroms: 00000000 62 70 6C 69 73 74 30 30 A1 01 5F 10 4E 68 74 74 |bplist00.._.Nhtt| 00000010 70 73 3A 2F 2F 69 6D 61 67 65 73 2D 6E 61 2E 73 |ps://images-na.s| 00000020 73 6C 2D 69 6D 61 67 65 73 2D 61 6D 61 7A 6F 6E |sl-images-amazon| 00000030 2E 63 6F 6D 2F 69 6D 61 67 65 73 2F 49 2F 39 31 |.com/images/I/91| 00000040 25 32 42 4C 39 38 6B 6E 72 4F 4C 2E 5F 41 43 5F |%2BL98knrOL._AC_| 00000050 53 4C 31 35 30 30 5F 2E 6A 70 67 08 0A 00 00 00 |SL1500_.jpg.....| 00000060 00 00 00 01 01 00 00 00 00 00 00 00 02 00 00 00 |................| 00000070 00 00 00 00 00 00 00 00 00 00 00 00 5B |............[| 0000007d com.apple.quarantine: 0082;6066f9be;Safari; You can see these ways of downloading include more metadata including the where downloaded from URL. It would be great if right click image save to downloads could make files have the same metadata as the other ways of downloading file as I quite frequently download images this way and I'm sad the info is missing, thanks.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!