[Catalina] Quick Look doesn't extend Sandbox for "related items"

Hi folks,


My Quick Look plugin reads a "related item" in addition to the file to be thumbnailed / previewed. Therefore I implement a NSFilePresenter as described in scenario 2 of the link Apple documentations:


https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW22


This approach worked well until macOS 10.15 "Catalina" (and even works there for the main app). When previewing a file with Quick Look the related item file is not read. I assume the sandbox of Quick Look is not extended to the related item.


Before filing a RADAR, does anyone has a similar QL plugin and observing the same behavior?


Greetings, Mattes


Edit: If I perform the preview using qlmanage the related item is read...

Feedback (aka RADAR) sent to Apple 1.5 years ago, still "open" and no response (FB7390114). I somehow bypassed the issue as additional file information has been moved from "related items" to extended file attributes, which are accessible from Quick Look.

[Catalina] Quick Look doesn't extend Sandbox for "related items"
 
 
Q