-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kUTTypeFileURL #90
Comments
Hi, I'm curious, can you give an example that fails without this patch? |
Am 11.04.2013 um 21:34 schrieb Mike Abdullah notifications@github.com:
An app made in Real Studio seems to only accept the FURL item in the drag and does not take the file names. Greetings Read our blog about news on our plugins: |
OK. Can you do us a pull request then, please? |
…the first time within an app session takes very long for large libraries When dispatching requests to the parsers via SBPerformSelectorAsync() We would prefer the more comfortable NSOperationQueue over dispatch_async()/dispatch_semaphore_... but it turns out that requesting a root media group in the context of the AppleMediaLibraryParser takes about twice as long compared to dispatch_async() and thus accounts for the vast majority of the time spent to "open" a an Apple Media Library framework based library. I know this sounds crazy but our measurements regarding the matter are unambiguous (as of 2017/02/07). We still keep the alternate NSOperationQueue implementation for future use in case our observations render no longer relevant.
* commit '550bbea1fdbe9ee7eb9b7efd84c39cbbd43c6a3f': Fix issue karelia#92, Loading of "Albums" node of Photos media library takes very long on large libraries Give user guidance on what to do when Lightroom catalog version and Lightroom version are out of step Always defer check for database version until root node population is imminent Eliminate warning about unimplemented method Defer Lightroom database version check Mitigate karelia#90, Accessing the root node of a Photos library for the first time within an app session takes very long for large libraries Fix karelia#89, Lightroom library not always accessible when running sandboxed
In IMBObjectViewController.m I added kUTTypeFileURL so the panel also works for older software here:
In line 1913 and following
// Write more generic bits
[inPasteboard addTypes:[NSArray arrayWithObjects:
NSFilenamesPboardType,
kIMBPublicTitleListPasteboardType,
kIMBPublicMetadataListPasteboardType,
NSURLPboardType,
kUTTypeFileURL,
nil]
owner:self];
also in line 1455:
The text was updated successfully, but these errors were encountered: