Crash trying to create really big new image

Bug #1428748 reported by grofaty on 2015-03-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Medium
Unassigned

Bug Description

Pinta 1.7.0.125 on Ubuntu 14.04.

1. New Image 1000000000 x 1000000000 and OK button.
Crash appears with error:
===========
Unhandled exception:
Division by zero

Details:
  at Pinta.Gui.Widgets.CellRendererSurface.RenderCell (Cairo.Context g, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
  at Pinta.Gui.Widgets.CellRendererSurface.Render (Gdk.Drawable window, Gtk.Widget widget, Rectangle backgroundArea, Rectangle cellArea, Rectangle exposeArea, CellRendererState flags) [0x00000] in <filename unknown>:0
  at Gtk.CellRenderer.Render_cb (IntPtr item, IntPtr window, IntPtr widget, Gdk.Rectangle& background_area, Gdk.Rectangle& cell_area, Gdk.Rectangle& expose_area, CellRendererState flags) [0x00000] in <filename unknown>:0
===========

Cameron White (cameronwhite91) wrote :

I think we used to have a limit of 10000x10000?

Changed in pinta:
importance: Undecided → Medium
milestone: none → 1.7
status: New → Confirmed
grofaty (grofaty) wrote :

Just for test I have installed Pinta 1.5 on Windows 7 and I can confirm that 10000 x 10000 was limitation, so this is regression problem. In 1.5 I see typing in Width input box any number no limitation, but when input box loses focus like clicking into Height box, Width number changes to 10000.

Probably more user friendly is to not permit to type in any bigger number then 10000 in the first place to be perfectly clear what is the limitation.

grofaty (grofaty) wrote :

This problem and bug 1428756 probably have the same solution like setting back 10000 x 10000 limitation.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers