Bug 4830 - NSOpenPanel not recognizing AllowedFileTypes
Summary: NSOpenPanel not recognizing AllowedFileTypes
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: Master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 2.0.x
Assignee: Chris Hamons
Depends on:
Reported: 2012-05-02 16:30 UTC by jdguzman
Modified: 2015-03-02 09:36 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Sample Solution (3.33 MB, application/zip)
2012-05-02 16:30 UTC, jdguzman

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description jdguzman 2012-05-02 16:30:16 UTC
Created attachment 1796 [details]
Sample Solution

When setting AllowedFileTypes through the accessor the OpenPanel does not grey out files that don't match the specified extensions.  I am running the latest stable version of MonoMac, MonoDevelop, and Mono.  My OS is 10.7.3.

I have attached a sample solution that is displaying said behavior on my machine.
Comment 1 Timothy Risi 2015-02-18 18:30:30 UTC
I downloaded the sample again and upon more testing (did a full clean/rebuild after testing funcionality in Xcode instead of just downloading andr unning the sample) it's actually working correctly now.
Comment 2 Mohit Kheterpal 2015-03-02 09:36:47 UTC
I have checked this issue and observed that only the plain txt file is selectable and the other files are greyed out and in AllowedFileTypes only "txt" is written in code.

Screencast : http://www.screencast.com/t/xTrObefcs4

Hence closing this issue.