Apps can't open more than 6 files via Launch Services in 10.10
| Originator: | tempelmann | ||
| Number: | rdar://19373517 | Date Originated: | 05-Jan-2015 |
| Status: | Closed | Resolved: | Yes, apparently |
| Product: | OSX SDK | Product Version: | 10.10.2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
When using NSWorkspace openURL: or LSOpenURLsWithRole() on Yosemite, no more than 6-7 files or folders can be opened at once. Before 10.10, this was never an issue.
For example, the attached project atttempts to open 10 folders (as windows in the Finder). On 10.9, this works, on 10.10 only about 6 open, for the rest there's even an error msg when using openURL: ("You can't open the application "Finder" because it is not responding").
Looks like a regression bug to me.
Steps to Reproduce:
Call NSWorkspace openURL: on more than 7 different folder URLs. Test on 10.10 and 10.9 systems.
Expected Results:
All folders should open as windows in the Finder.
Actual Results:
Only up to 6 or 7 open on 10.10, whereas they all open fine on 10.9 and earlier systems.
Attachment can be downloaded here:
http://files.tempel.org/Various/LSOpenURLsWithRole-Test.zip
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!
I can not reproduce the issue on 10.10.5 and the duplicate bug ID (18012923) is marked closed now as well.
A work-around
I found a work-around: By using Applescript to open the items, the issue is avoided.
Duplicate of 18012923