Project: SWT
Bug 153365 DirectoryDialog's setFilterPath() has no effect
Reported: 2006-08-09 17:55:32 | Status: resolved fixed

The DirectoryDialog's setFilterPath() has no effect on the Mac (Eclipse 3.1.1 and 3.2). Instead of showing the specified directory, the dialog presents the previously chosen directory. An SWT newsgroup poster reported the same situation on Linux. However, things seem fine on Windows. Steve Northover replied on the newsgroup saying that it looked like the method was never implemented on the Mac.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/FileDialog.java