Jump to content

Big number bug


Recommended Posts

After inserting the maximum available float integer (2147483647) into the new dialog's pixel size input, and then pressing the button to increase the inches value, I get an unhandled error (most definitely the fact that Paint.NET did not block a higher value in inches).

pdncrash.log reads:

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net @ hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v2.70 (Final Release build 2.70.2402.33590)
Time of crash: 8/7/2006 10:07:23 PM
Application uptime: 00:02:17.8593750
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x Intel(R) Pentium(R) 4 CPU 2.53GHz
Physical memory: 639 MB

Exception details:
System.ArgumentOutOfRangeException: Value of '2147483743' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
  at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
  at PaintDotNet.ResizeDialog.OnConstrainerNewWidthChanged(Object sender, EventArgs e)
  at PaintDotNet.ResizeDialog.ResizeConstrainer.OnNewWidthChanged()
  at PaintDotNet.ResizeDialog.ResizeConstrainer.set_NewWidth(Double value)
  at PaintDotNet.ResizeDialog.upDown_ValueChanged(Object sender, EventArgs e)
  at System.Windows.Forms.NumericUpDown.OnValueChanged(EventArgs e)
  at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
  at System.Windows.Forms.NumericUpDown.UpButton()
  at System.Windows.Forms.UpDownBase.OnUpDown(Object source, UpDownEventArgs e)
  at System.Windows.Forms.UpDownBase.UpDownButtons.OnUpDown(UpDownEventArgs upevent)
  at System.Windows.Forms.UpDownBase.UpDownButtons.BeginButtonPress(MouseEventArgs e)
  at System.Windows.Forms.UpDownBase.UpDownButtons.OnMouseDown(MouseEventArgs e)
  at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------

Just so you can put a limit on it ;)

EDIT: Must have been the resize dialog...not sure it matters much.

~~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...