Created attachment 522365 [details]
Damaged JPG image (recovered after disk erase)
Description of problem:
I have several pictures which I have recovered from an accidental disk erase, and some of them seem to be damaged : I cannot open them with GIMP or Shotwell image viewer, and they show with a grey strip at the bottom both in Nautilus. Yet I can open them in EOG without any warning, though the strip is still there. Also I am not able to save changes -which is OK, the images are damaged- but EOG does not says it failed. When I quit EOG after attempting to save, it prompts me to save again, and still fails silently if I accept.
Version-Release number of selected component (if applicable):
Eye of GNOME Image Viewer 3.0.1
Open a damaged JPG image with EOG.
Steps to Reproduce:
1. Open the attached image with EOG
2. Modify it (e.g. rotate)
3. Try to save
4. Try to quit
EOG opens the image and displays it with no warning. It fails silently when trying to save.
One of the following:
- Warn the user when opening the image or fail, à la GIMP (preferred)
- Warn the user when failing to save
This potentially impacts Nautilus too, though having the preview is a nice thing to have. I don't know about other formats.
We already "fixed" this upstream for eog-3.1.4. eog will now present an error message on save. libjpeg doesn't give good error messages so it won't be that useful.