bugDotGNU Portable.NET - Bugs: bug #18937, FolderBrowserDialog Issues

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18937: FolderBrowserDialog Issues

Submitted by:  Nick Lee <nick_lee>
Submitted on:  Fri 02 Feb 2007 09:40:20 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Radek Polak <radekp>
Open/Closed: Closed

Tue 06 Feb 2007 01:04:50 PM UTC, comment #3:

Then the linux version is ok too, because the FolderBrowserDialog is not implemented and we can close this bug.

Radek Polak <radekp>
Project MemberIn charge of this item.
Tue 06 Feb 2007 01:01:59 PM UTC, comment #2:

The windows version is now fixed in CVS (just commited), but the FolderBrowserDialog is not implemented yet, so you'll see just blank form.

Radek Polak <radekp>
Project MemberIn charge of this item.
Tue 06 Feb 2007 05:35:48 AM UTC, comment #1:

I'll try to fix the windows version.

Radek Polak <radekp>
Project MemberIn charge of this item.
Fri 02 Feb 2007 09:40:20 AM UTC, original submission:

The FolderBrowserDialog doesn't seem to work on Portable .NET 0.7.4 or 0.7.5, though for different reasons. See attached code for example. The code works on MS .NET.

On 0.7.4 for Linux you get a blank grey dialogue box.

On 0.7.5 for Windows, you get the following exception:

System.ArgumentOutOfRangeException: Value must not be negative
Parameter name: length
at System.Array.Copy(Array, Int32, Array, Int32, Int32) in .SystemArray.cs:275
at System.Drawing.Toolkit.DrawingWindow.MoveWindowTo(DrawingWindow, DrawingWindow) in .DrawingWindow.cs:910
at System.Drawing.Toolkit.DrawingWindow.System.Drawing.Toolkit.IToolkitWindow.Raise() in .DrawingWindow.cs:88
at System.Windows.Forms.Control.BringToFront() in .Control.cs:2019
at System.Windows.Forms.Form.Activate() in .Form.cs:863
at System.Windows.Forms.Form.ShowDialog(Form) in .Form.cs:962
at System.Windows.Forms.Form.ShowDialog(IWin32Window) in .Form.cs:985
at System.Windows.Forms.FolderBrowserDialog.RunDialog(IWin32Window) in .FolderBrowserDialog.cs:187
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window) in .CommonDialog.cs:58
at DirectoryBrowserProblem.DirectoryBrowserProblem.b_Click(Object, EventArgs)
at System.EventHandler.Invoke(Object, EventArgs)
at System.Windows.Forms.Control.OnClick(EventArgs) in .Control.cs:4668
at System.Windows.Forms.Button.OnClick(EventArgs) in .Button.cs:80
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs) in .Button.cs:103
at System.Windows.Forms.Control.System.Drawing.Toolkit.IToolkitEventSink.ToolkitMouseUp(ToolkitMouseButtons, ToolkitKeys, Int32, Int32, Int32, Int32) in
.Control.cs:6320
at System.Windows.Forms.ControlWeakRef.ToolkitMouseUp(ToolkitMouseButtons, ToolkitKeys, Int32, Int32, Int32, Int32) in .ControlToolkitMgr.cs:287
at System.Drawing.Toolkit.DrawingWindow.ButtonUp(Int32, Int32, Int32) in .DrawingWindow.cs:527
at System.Drawing.Toolkit.DrawingToolkit.WindowsLoop(IntPtr, Int32, Int32, Int32) in .DrawingToolkit.cs:633
at System.Drawing.Win32.Api.DispatchMessageA(MSG&)
at System.Drawing.Toolkit.DrawingToolkit.ProcessEvents(Boolean) in .DrawingToolkit.cs:76
at System.Windows.Forms.Application.RunMessageLoop(ApplicationContext) in .Application.cs:428
at System.Windows.Forms.Application.Run(Form) in .Application.cs:582
at DirectoryBrowserProblem.DirectoryBrowserProblem.Main()

Nick Lee <nick_lee>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by radekp (Updated the item)
  • -unavailable- added by nick_lee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 Feb 2007 01:04:50 PM UTCradekpStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 05 Feb 2007 02:50:11 PM UTCradekpStatusNone=>Confirmed
      Assigned toNone=>radekp
    Fri 02 Feb 2007 09:40:21 AM UTCnick_leeAttached File-=>Added DirectoryBrowserProblem.cs, #11910

    Back to the top


    Powered by Savane 3.1-cleanup1