[Mono-bugs] [Bug 82214][Nor] Changed - OpenFileDialog: AddExtension has no effect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 29 08:40:09 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=82214

--- shadow/82214	2007-07-29 03:39:57.000000000 -0400
+++ shadow/82214.tmp.29556	2007-07-29 08:40:09.000000000 -0400
@@ -2,23 +2,33 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: [2.0] OpenFileDialog: AddExtension has no effect
+Summary: OpenFileDialog: AddExtension has no effect
 
 On .NET 1.1, AddExtension did not affect OpenFileDialog. However, on 2.0 
 it maches the behaviour of SaveFileDialog with one exception: if 
 CheckFileExists is true and the specified file exists then no extension is 
 added.
 
 I'll add support for this later today.
+
+------- Additional Comments From gert.driesen at pandora.be  2007-07-29 08:40 -------
+Further tests show the AddExtension should also work on the 1.0 
+profile (if user-specified file has no extension).
+
+When a DefaultExt is set, then the filter extensions should only be 
+used if:
+* CheckFileExists is true, and no file with the default extension 
+exists.
+* CheckFileExists is false, and user specified file does not exist.


More information about the mono-bugs mailing list