[Mono-bugs] [Bug 463798] New: OpenFileDialog crashes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 6 08:29:16 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=463798


           Summary: OpenFileDialog crashes
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: i386
        OS/Version: RHEL 4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fevans at harris.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Description of Problem:
When the file-browser tries to load icons it crashes, in some directories but
not in others. Code below

Steps to reproduce the problem:
===================================
CODE
===================================
OpenFileDialog ofd = new OpenFileDialog();
ofd.InitialDirectory = System.Environment.CurrentDirectory;
if (ofd.ShowDialog() == DialogResult.OK)
{
    InputTextBox.Text = ofd.FileName;
}


Actual Results:
===================================
ERROR MESSAGE/STACK TRACE
===================================
Unhandled Exception: System.DllNotFoundException: libgnomeui-2.so.0
  at (wrapper managed-to-native)
System.Windows.Forms.GnomeUtil:gnome_icon_lookup
(intptr,intptr,string,string,intptr,string,System.Windows.Forms.GnomeUtil/GnomeIconLookupFlags,intptr)
  at System.Windows.Forms.GnomeUtil.GetIcon (System.String file_name,
System.String mime_type, Int32 size) [0x00000]
  at System.Windows.Forms.GnomeHandler.AddAndGetIconIndex (System.String
filename, System.String mime_type) [0x00000]
  at System.Windows.Forms.MimeIconEngine.GetIconIndexForFile (System.String
full_filename) [0x00000]
  at System.Windows.Forms.FileSystem.GetFileFSEntry (System.IO.FileInfo
fileinfo) [0x00000]
  at System.Windows.Forms.FileSystem.GetNormalFolderContent (System.String
from_folder, System.Collections.Specialized.StringCollection filters,
System.Collections.ArrayList& directories_out, System.Collections.ArrayList&
files_out) [0x00000]
  at System.Windows.Forms.FileSystem.GetFolderContent
(System.Collections.Specialized.StringCollection filters,
System.Collections.ArrayList& directories_out, System.Collections.ArrayList&
files_out) [0x00000]
  at System.Windows.Forms.MWFVFS+WorkerThread.GetFolderContentThread ()
[0x00000]
<


Expected Results:


How often does this happen? 


Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list