shana / paint-mono

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

Crashes when creating a new image #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start pdn
2. file -> new (i used 15x15, but it looks like any size will do this)
3. confirm
4. crash

What is the expected output? What do you see instead?
I expect the program to make a new image, it crashes

What version of the product are you using? On what operating system?
amd64, debian 5.0.0, pdn 0.1.63

Please provide any additional information below.
output below. Oh and while I'm complaining, it also displays part of the
image in it's original size till you hover over it with your mouse when you
zoom in.

Anyway;

Unhandled Exception: System.ObjectDisposedException: The object was used
after being disposed.
  at System.Windows.Forms.Control.CreateControl () [0x00000] 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:set_Visible (bool)
  at PaintDotNet.DocumentView.ResumeRefresh () [0x00000] 
  at (wrapper remoting-invoke-with-check)
PaintDotNet.DocumentView:ResumeRefresh ()
  at PaintDotNet.AppWorkspace.CreateBlankDocumentInNewWorkspace (Size size,
MeasurementUnit dpuUnit, Double dpu, Boolean isInitial) [0x00000] 
  at (wrapper remoting-invoke-with-check)
PaintDotNet.AppWorkspace:CreateBlankDocumentInNewWorkspace
(System.Drawing.Size,PaintDotNet.MeasurementUnit,double,bool)
  at PaintDotNet.Actions.NewImageAction.PerformAction
(PaintDotNet.AppWorkspace appWorkspace) [0x00000] 
  at PaintDotNet.AppWorkspace.PerformAction (PaintDotNet.AppWorkspaceAction
performMe) [0x00000] 
  at (wrapper remoting-invoke-with-check)
PaintDotNet.AppWorkspace:PerformAction (PaintDotNet.AppWorkspaceAction)
  at PaintDotNet.Menus.FileMenu.MenuFileNew_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e)
[0x00000] 
  at PaintDotNet.PdnMenuItem.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ToolStripMenuItem.HandleClick (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.OnMouseUp
(System.Windows.Forms.MouseEventArgs mea) [0x00000] 
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp
(System.Windows.Forms.MouseEventArgs mea) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp
(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.XplatUIX11.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] 

Original issue reported on code.google.com by kyo...@googlemail.com on 15 Apr 2009 at 1:03