Sign in to follow this  
Lumix

Zoom Input

Recommended Posts

When you click on the zoom value % to adjust it to whatever value you want it to be, you can enter a very big number and the program will crash.
 

I recommend adding a hard limit to it.

  • Upvote 1

Share this post


Link to post
Share on other sites

Yup. It crashes Paint.NET hard...


 

Spoiler

 

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

Application version: paint.net 4.2.2 (β 4.202.7192.37914)
Time of crash: 9/16/2019 11:33:25 AM
Application uptime: 00:00:07.5017518
Application state: Running 
Working set: 146,160 KiB
Handles and threads: 975 handles, 42 threads, 145 gdi, 208 user
Install type: Classic
Application directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
Install directory: C:\Program Files\paint.net
OS Version: Windows 10 Home 10.0.18362.0 x64 (0x65)
.NET version: CLR 4.0.30319.42000 x64
Processor: "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz" @ ~1992MHz (4C/8T, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2)
Physical memory: 16234 MB
Video card: Intel(R) UHD Graphics 620 (v:8086, d:5917, r:7), NVIDIA GeForce MX150 (v:10DE, d:1D12, r:161), Microsoft Basic Render Driver (v:1414, d:8C, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96 dpi (1.00x scale)
UI theme: VisualStyleClass=Aero, EffectiveTheme=Aero, DWM=yes, AeroColorScheme=Dark, ThemeFileName=Aero.msstyles
Updates: True, 9/15/2019
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
Flags: 

Exception details:
System.ArgumentOutOfRangeException: must be greater than 0
Parameter name: numerator
   at PaintDotNet.ScaleFactor..ctor(Int32 numerator, Int32 denominator, Boolean clamp) in D:\src\pdn\src\PaintDotNet\ScaleFactor.cs:line 323
   at PaintDotNet.ScaleFactor.Reduce(Int32 numerator, Int32 denominator) in D:\src\pdn\src\PaintDotNet\ScaleFactor.cs:line 299
   at PaintDotNet.ScaleFactor.TryParse(String text, ScaleFactor& scaleFactor) in D:\src\pdn\src\PaintDotNet\ScaleFactor.cs:line 355
   at PaintDotNet.Controls.PdnStatusBar.<>c__DisplayClass64_0.<OnZoomAmountButtonClick>b__0(Object sender2, KeyPressEventArgs e2) in D:\src\pdn\src\PaintDotNet\Controls\PdnStatusBar.cs:line 470
   at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Managed assemblies: 
 SNIP!

 

 

I filed this issue in the official bug database.

Share this post


Link to post
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.

Sign in to follow this