A List of issues with the Mono FileDialog from Windows.Forms

Bug #123850 reported by a-r-k-i-b-o-t-t
2
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: mono-runtime

When you run an App which uses the FileDialog (i guess it's named like this) to select a List of Files (multiple must be enabled in the Source Code) you can encounter some Problems including a Crash. What's better, to split that List into multiple Bug's, or to first let someone have a look at it from the right Team?

How are the Mono-Packages Structured? Where to file this Bugs?

Redesign:
- please implement CTRL+A to select all Files
- please implement a flexible 'new File' function
- please implement a preview for Image Files and other FileTypes
- please optimize the way select multiple Files with pressed Shift-Key to select Files in Order - not in a rectangle Box
- please optimize selection of files, not to end in a - persistent for seconds - file rename box
- please check out the Problem with a *.* Filter - that Filter does only select Files with a dot in the Name! I can't use this then on a Linux box :)
- please implement a way to include other Paths - i will add a few Screenshots

absolutely a Bug:
When you click on the lower of the File View, you may encounter this, crashing the whole application:

System.NullReferenceException: Object reference not set to an instance of an object
  at System.Windows.Forms.MessageBox+MessageBoxForm+<>c__CompilerGenerated1.<>c__AnonymousMethod2 (System.Object +1, System.EventArgs +2) [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000]
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000]
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000]
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs e) [0x00000]
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]

or this Message:

System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: displayIndex
  at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32 displayIndex) [0x00000]
  at System.Windows.Forms.ListView.UpdateMultiSelection (Int32 index) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:UpdateMultiSelection (int)
  at System.Windows.Forms.ListView+ItemControl.ItemsMouseDown (System.Object sender, System.Windows.Forms.MouseEventArgs me) [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_MouseEventArgs (object,System.Windows.Forms.MouseEventArgs)
  at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000]
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.ListView+ItemControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]

Revision history for this message
a-r-k-i-b-o-t-t (arkibott-ray) wrote :
Revision history for this message
a-r-k-i-b-o-t-t (arkibott-ray) wrote :
Revision history for this message
a-r-k-i-b-o-t-t (arkibott-ray) wrote :
Revision history for this message
a-r-k-i-b-o-t-t (arkibott-ray) wrote :

Also it might be an intelligent feature, if hidden Linux Files could be optionally displayed.

Like *.???~ or Files starting with a dot.

Revision history for this message
Jo Shields (directhex) wrote :

Please report this bug upstream with the mono-project.com Bugzilla, then attach it to this bug (using 'Also affects project'). Only they can fix your issues.

One problem at least is gone (the no extension issue)

Others may not be fixable

Changed in mono:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.