Icon Size - change from 32 to 16

Description

When changing editor icon size from 32 to 16 the below dump appeared.

Software version: 1.2.8.12-RELEASE-cab854b7229994fc9e4deaccd47885df500d7e1a (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2016-05-31 13:40:48 +02:00
OS: Windows 7 Enterprise Service Pack 1 (x64) 6.1 build 7601 revision 10000
GDI object count: 172
User object count: 113

Exception: System.ArgumentException
Message: Parameteren er ugyldig.

Stack:
ved System.Drawing.Image.get_RawFormat()
ved System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
ved System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
ved System.Windows.Forms.ToolStripProfessionalRenderer.OnRenderItemImage(ToolStripItemImageRenderEventArgs e)
ved System.Windows.Forms.ToolStripRenderer.DrawItemImage(ToolStripItemImageRenderEventArgs e)
ved System.Windows.Forms.ToolStripSplitButton.OnPaint(PaintEventArgs e)
ved System.Windows.Forms.ToolStripItem.HandlePaint(PaintEventArgs e)
ved System.Windows.Forms.ToolStrip.OnPaint(PaintEventArgs e)
ved System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
ved System.Windows.Forms.Control.WmPaint(Message& m)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ToolStrip.WndProc(Message& m)
ved Greenshot.Controls.ToolStripEx.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Environment

Win 7

Gliffy Diagrams

Activity

Jens May 31, 2016 at 12:22 PM

Sorry for not delivering enough info.

I changed the icon size from 16 to 32 and then on to 48. No problems.
Then the editor did not look pretty
When i changed the size back to 32 and 16 - the dump appeared.
BR
Jens

Greenshot May 31, 2016 at 11:52 AM

Unfortunately I don't know what wrong, as I don't have enough information.

In Greenshot the default is 16, so am I assuming correctly that you changed it to 32 without issues?

When does the error occur?
Does this happen when you press ok in the settings, or after a capture, or when the editor opens, or the context menu???

Did you add any external commands?

Details

Assignee

Reporter

Affects versions

Components

Priority

Created May 31, 2016 at 11:46 AM
Updated December 21, 2020 at 1:34 PM