[Mono-bugs] [Bug 77477][Min] New - OpenFileDialog: Selecting a directory and clicking OK does not navigate directory

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 5 15:00:10 EST 2006


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 kdaniels at usfamily.net.

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

--- shadow/77477	2006-02-05 15:00:10.000000000 -0500
+++ shadow/77477.tmp.26105	2006-02-05 15:00:10.000000000 -0500
@@ -0,0 +1,69 @@
+Bug#: 77477
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Fedora Core 3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: kdaniels at usfamily.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: OpenFileDialog:  Selecting a directory and clicking OK does not navigate directory
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When an OpenFileDialog is displayed, clicking on a directory and then
+clicking the OK button should cause the directory to be displayed in the
+dialog.
+
+Steps to reproduce the problem:
+1. compile and execute the following program
+
+using System;
+using System.Windows.Forms;
+namespace TestFD
+{
+	class Class1
+	{
+		[STAThread]
+		static void Main(string[] args)
+		{
+			OpenFileDialog fd = new OpenFileDialog();
+			if(fd.ShowDialog()==DialogResult.OK){
+				Console.WriteLine("OK box Clicked");
+				Console.WriteLine("File Name = {0}",fd.FileName);
+				fd.Dispose();
+			}
+		}
+	}
+}
+
+
+2. Click on a directory entry.
+3. Click the OK button.
+
+Actual Results:
+(1)Either no action will occur or (2) the Dialog box will exit.
+
+If a file has not been selected prior to selecting a directory, then no
+action will occur.
+
+If a file was selected prior to selecting a directory, then the Dialog Box
+will exit.
+
+Expected Results:
+Selecting a directory followed by clicking OK will always cause the
+contents of the selected directory to be displayed.
+
+How often does this happen? 
+Always
+
+Additional Information:
+mono from SVN


More information about the mono-bugs mailing list