niptucker / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
0 stars 0 forks source link

Acquire menu crashes Paint.NET on OSX #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Mono 2
2. SVN -> configure -> make -> sudo make install
3. paintdotnet
4. Click on "File", hover mouse over "Acquire"

What is the expected output? What do you see instead?

I should see the menu expand and read "From Scanner or Camera..." (it should 
probably be 
disabled).  Instead it crashes: 

-----HERE------
Got System.Drawing.Rectangle[] get_ClipRectangles() and 
System.Windows.Forms.Hwnd 
ObjectFromHandle(IntPtr)
-------Finished--------
SingleInstanceManager.SingleInstaceManager: Not implemented
UI.SetControlRedrawImpl: Not implemented
PORT: HideHorizontalScrollBar missing
SingleInstanceManager.SetWindow: Not implemented
SingleInstanceManager.FilterMessage: Not implemented

Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than 0 
or more than 
or equal to the list count.
Parameter name: index
0
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00000] 
  at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index) [0x00000] 
  at System.Diagnostics.Process.get_MainModule () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_MainModule ()
  at PaintDotNet.SystemLayer.ScanningAndPrinting.CallWiaProxy32 (System.String args, Boolean 
spinEvents) [0x00000] 
  at PaintDotNet.SystemLayer.ScanningAndPrinting.get_IsComponentAvailable () [0x00000] 
  at PaintDotNet.Menus.FileMenu.MenuFileAcquire_DropDownOpening (System.Object sender, 
System.EventArgs e) [0x00000] 
  at (wrapper delegate-invoke) System.EventHandler:invoke_void__this___object_EventArgs 
(object,System.EventArgs)
  at System.Windows.Forms.ToolStripDropDownItem.OnDropDownOpening (System.Object 
sender, System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripDropDownItem.ShowDropDown () [0x00000] 
  at System.Windows.Forms.ToolStripMenuItem.OnMouseEnter (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType 
met) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent 
(System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
  at System.Windows.Forms.ToolStrip.OnMouseMove (System.Windows.Forms.MouseEventArgs 
mea) [0x00000] 
  at System.Windows.Forms.Control.WmMouseMove (System.Windows.Forms.Message& m) 
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) 
[0x00000] 
  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) 
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
(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] 
  at System.Windows.Forms.XplatUICarbon.DispatchMessage (System.Windows.Forms.MSG& msg) 
[0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) 
[0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) 
[0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] 
  at PaintDotNet.Startup.StartPart2 () [0x00000] 
  at PaintDotNet.Startup.Start () [0x00000] 
  at PaintDotNet.Startup.Main (System.String[] args) [0x00000] 

What version of the product are you using? On what operating system?

Paint.NET v3.0 (Final Debug build 3.0.3277.29495) on OSX 10.5.5 on a 2.53 GHz 
Intel MBP with 
4GB RAM

Please provide any additional information below.

If you use the keyboard instead of the mouse to navigate the menu, when you 
move down to 
"Acquire" and hit the right key to expand the menu it crashes with:

-----HERE------
Got System.Drawing.Rectangle[] get_ClipRectangles() and 
System.Windows.Forms.Hwnd 
ObjectFromHandle(IntPtr)
-------Finished--------
SingleInstanceManager.SingleInstaceManager: Not implemented
UI.SetControlRedrawImpl: Not implemented
PORT: HideHorizontalScrollBar missing
SingleInstanceManager.SetWindow: Not implemented
SingleInstanceManager.FilterMessage: Not implemented

Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than 0 
or more than 
or equal to the list count.
Parameter name: index
0
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00000] 
  at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index) [0x00000] 
  at System.Diagnostics.Process.get_MainModule () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_MainModule ()
  at PaintDotNet.SystemLayer.ScanningAndPrinting.CallWiaProxy32 (System.String args, Boolean 
spinEvents) [0x00000] 
  at PaintDotNet.SystemLayer.ScanningAndPrinting.get_IsComponentAvailable () [0x00000] 
  at PaintDotNet.Menus.FileMenu.MenuFileAcquire_DropDownOpening (System.Object sender, 
System.EventArgs e) [0x00000] 
  at (wrapper delegate-invoke) System.EventHandler:invoke_void__this___object_EventArgs 
(object,System.EventArgs)
  at System.Windows.Forms.ToolStripDropDownItem.OnDropDownOpening (System.Object 
sender, System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripDropDownItem.ShowDropDown () [0x00000] 
  at System.Windows.Forms.ToolStripDropDownItem.ProcessDialogKey (Keys keyData) [0x00000] 
  at System.Windows.Forms.ToolStrip.ProcessDialogKey (Keys keyData) [0x00000] 
  at System.Windows.Forms.ToolStripDropDown.ProcessDialogKey (Keys keyData) [0x00000] 
  at System.Windows.Forms.Control.InternalPreProcessMessage 
(System.Windows.Forms.Message& msg) [0x00000] 
  at System.Windows.Forms.Control.PreProcessMessage (System.Windows.Forms.Message& msg) 
[0x00000] 
  at System.Windows.Forms.Control.PreProcessControlMessageInternal 
(System.Windows.Forms.Message& msg) [0x00000] 
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.Control:PreProcessControlMessageInternal 
(System.Windows.Forms.Message&)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) 
[0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] 
  at PaintDotNet.Startup.StartPart2 () [0x00000] 
  at PaintDotNet.Startup.Start () [0x00000] 
  at PaintDotNet.Startup.Main (System.String[] args) [0x00000] 

Original issue reported on code.google.com by dbisc...@gmail.com on 21 Dec 2008 at 9:45