Show in Finder should be more aware #392
Show extracted files in Finder should only do so if Finder isn't already showing them somewhere
Keka could check paths of open Finder windows synchronously with extraction, so that (in most cases) there is no delay after extraction.
@gingerbeardman I'm sure this won't be possible, at least with sandbox, not using some AppleScript or similar. Maybe it will be better to ask Apple to enhance the behaviour of this methods 1 2, that are responsible of this action:
- (BOOL)selectFile:(NSString *)fullPath inFileViewerRootedAtPath:(NSString *)rootFullPath;
- (void)activateFileViewerSelectingURLs:(NSArray<NSURL *> *)fileURLs;
Anyway I suppose that the performance impact of searching trough an indeterminate number of expanded folders instead of just looking for the root folder (current behaviour) of every Finder window sadly makes this one a no-go.