NSOpenPanel doesn't allow directory tree navigation in some cases

Originator:martica
Number:rdar://13798967 Date Originated:02-May-2013 07:02 PM
Status:Open Resolved:
Product:OS X Product Version:10.8.3
Classification:UI/Usability Reproducible:Always
 
Summary:
When using an NSOpenPanel to select a directory with the view set to Cover Flow, double clicking a folder will immediately select that folder and close the panel

Steps to Reproduce:
1. Create a new project in xcode
2. Add an openFolder method to the app delegate as follows:
- (void)openFolder:(id)sender {
    NSOpenPanel *openPanel = [NSOpenPanel openPanel];
    [openPanel setCanChooseFiles:NO];
    [openPanel setCanChooseDirectories:YES];
    [openPanel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result) {
        NSLog( @"%@", [openPanel URLs]);
    }];
}
3. Hook up a menu item
4. Run and select the menu item
5. Set the view to Cover Flow
6. Try to navigate into a folder by double clicking

Expected Results:
The Finder window should display the contents of the folder

Actual Results:
The open panel closes and returns the folder that was clicked on

Regression:
If the view is set to Icons, List or Columns, double clicking the folder opens the folder as expected.

Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

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!