"open" CLI program and case sensitivity in Finder

Originator:ryan.manly
Number:rdar://28366852 Date Originated:18-Sep-2016
Status:Open Resolved:
Product:macOS Product Version:10.12/16A323
Classification: Reproducible:Always
 
Summary:
running 'open' on a directory when two directories of the same name but different cases exist causes two inaccurate behaviors.

1. the finder brings the wrong case back to the front
2. the finder may open the window for the incorrect dir

Steps to Reproduce:
1. create two directories called 'test' and 'Test' on an smb share
2. type `open test` in cli
3. type `open Test` in cli
4. close finder window
5. type `open Test` again.

Expected Results:
the directories that are presented in Finder should match the case of the directories specified on the command line.

Actual Results:
open and Finder appear to present the "first" directory

Version:
10.12/16A323

Notes:


Configuration:


Attachments:
'case_insensitive_finder_open_bug.mov' was successfully uploaded.

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!