Page MenuHomePhabricator

Crash after cropping with a bounding box out of the image bounds
Closed, ResolvedPublic

Description

How to reproduce:

(i) load an image
(ii) open image cropper, place a bounding box and move it far away
(so that there is no overlap with the bounding box of the image)

(iii) crop the image
(iv) click into one render window --> CRASH

Event Timeline

The UI expects an exception in case the bounding box and the input image do not overlap but currently no exception is thrown in such case.

Fixed by exception throwing from filter and exception handling in the View (was already there).

[30c865]: Merge branch 'bug-18988-CrashOnCroppingBoxCompletelyOutside'

Merged commits:

2015-04-15 16:48:58 Jan Hering [e42cd6]
Use exception in the cropping filter to identify errors

  • the exception is catched in the CropperView
  • better formatting of the output message dialog