Revision: 12113
          http://sourceforge.net/p/skim-app/code/12113
Author:   hofman
Date:     2021-01-24 23:04:47 +0000 (Sun, 24 Jan 2021)
Log Message:
-----------
Don't mount when resolving bookmark withour UI, this is only used for bookmarks 
display and recent document info, which omly matters when we access the file 
already

Modified Paths:
--------------
    trunk/SKAlias.m

Modified: trunk/SKAlias.m
===================================================================
--- trunk/SKAlias.m     2021-01-24 22:50:29 UTC (rev 12112)
+++ trunk/SKAlias.m     2021-01-24 23:04:47 UTC (rev 12113)
@@ -158,7 +158,7 @@
         fileURL = fileURLFromAliasHandle(aliasHandle, allowUI ? 0 : 
kResolveAliasFileNoUI);
     } else if (data) {
         BOOL stale = NO;
-        NSURLBookmarkResolutionOptions options = allowUI ? 0 : 
NSURLBookmarkResolutionWithoutUI;
+        NSURLBookmarkResolutionOptions options = allowUI ? 0 : 
NSURLBookmarkResolutionWithoutUI | NSURLBookmarkResolutionWithoutMounting;
         fileURL = [NSURL URLByResolvingBookmarkData:data options:options 
relativeToURL:nil bookmarkDataIsStale:&stale error:NULL];
         // convert back to alias handle
         if (fileURL) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to