Problem description: Selecting an image and choosing "Save as image" most often results in an application crash
Steps to reproduce:
1. Open an odg, or odp file including a bitmap
2. Select bitmap, right click to get context menu, select save as picture from context menu
3. Provide a filename and press ok
libreoffice does not suggest a file type for the image to be saved. On saving most often it crashes leaving no java log (as it often does). When it crashes, one remains with a zero length file for the saved image. Even when it does not crash, one gets things like
(soffice:13406): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/callegar/Documents/Didattica/Slides/EAA_2011-12/pot2.png': Error stating file '/home/callegar/Documents/Didattica/Slides/EAA_2011-12/pot2.png': No such file or directory
terminate called after throwing an instance of 'com::sun::star::lang::DisposedException'
libreoffice suggests the file type capable of providing the best image export (the same as the type in which the image is stored inside the document file). Then it saves the file correctly.
Platform (if different from the browser):
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
I'm not sure but I think it's a duplicate of fdo#46340.
If it's not, don't hesitate to change the status.
*** This bug has been marked as a duplicate of bug 46340 ***
I do not know if it is the same.
Further experiments make me think that the issue may be with the file format, here. Something like saving in a format that LO does not know how to convert the image to crashes LO.
For instance, in a set of experiments, I have been consistently always successful in saving files if I provide a filename with the ppm extension (which should be one of the most basic bitmap formats). Conversely, I had frequent crashes trying to save as png.
You're right so I reopen this bug
BTW, fdo#46340 is now resolved but I didn't test this bug on master to see if it's better or not.
Wow, not seen a bmp file in ages. Are people still using those?!?
So I created a bmp because I couldn't find one. Open LO > draw
Insert bmp file. right click on image in draw > save picture as, dialogue opens.
enter name, save, works fine.
WORKSFORME. LO 188.8.131.52, OSX 10.9.2