WinForm Designer Crash (Testcase include)
Posted: Thu Aug 14, 2014 7:18 am
Hi,
we noticed a bug in the WinForm Designer (maybe other Designer versions are affected, too).
We have a report with a large amount of images.
The Designer works, the report works great!
However when having Reg'ed data, and when switching between the designer and de preview
tab, the desinger crashes. You might have to switch a view times.
Hint: we could make the problem "less worse" in our production code, when switching from System.Drawing.Image
to System.Drawing.Bitmap. But in this example it seams that there is no difference.
We also tested "FUL_2014.08.08.zip"
we noticed a bug in the WinForm Designer (maybe other Designer versions are affected, too).
We have a report with a large amount of images.
The Designer works, the report works great!
However when having Reg'ed data, and when switching between the designer and de preview
tab, the desinger crashes. You might have to switch a view times.
Hint: we could make the problem "less worse" in our production code, when switching from System.Drawing.Image
to System.Drawing.Bitmap. But in this example it seams that there is no difference.
We also tested "FUL_2014.08.08.zip"
Code: Select all
at System.Drawing.Image.get_Width()
at Stimulsoft.Report.Painters.StiViewGdiPainter.PaintImage(StiView view, Graphics g, RectangleD rect)
at Stimulsoft.Report.Painters.StiViewGdiPainter.Paint(StiComponent component, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiImageGdiPainter.Paint(StiComponent component, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiContainerGdiPainter.PaintComponents(StiContainer container, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiBandGdiPainter.Paint(StiComponent component, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiContainerGdiPainter.PaintComponents(StiContainer container, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiPageGdiPainter.Paint(StiComponent comp, StiPaintEventArgs e)
at Stimulsoft.Report.Design.Controls.StiViewControl.Draw(Graphics g, Rectangle clipRect)
at Stimulsoft.Report.Design.Controls.StiViewControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)