dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #18937] FolderBrowserDialog Issues


From: Nick Lee
Subject: [Pnet-developers] [bug #18937] FolderBrowserDialog Issues
Date: Fri, 02 Feb 2007 09:40:22 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

URL:
  <http://savannah.gnu.org/bugs/?18937>

                 Summary: FolderBrowserDialog Issues
                 Project: DotGNU Portable.NET
            Submitted by: nick_lee
            Submitted on: Friday 02/02/07 at 09:40
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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()



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 02/02/07 at 09:40  Name: DirectoryBrowserProblem.cs  Size: 685B 
 By: nick_lee

<http://savannah.gnu.org/bugs/download.php?file_id=11910>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18937>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]