support SVG files with missing width & height
the long journey can be read at the end.
please support svg images that do not specify a width and height. currently these are not displayed properly - this leads to the fact that you can not change the image anymore - as the context-menu is only available over the displayed image area.....
i have attached two test svg image files
test.svg one leads to the described behavior.
test_with_size.svg one works as expected.
the only difference is that the second one specifies a height and width.
original finding story:
today i tried to add a svg image as image to a new CardBook contact.
the 'attach from file' dialog allows this to do. but this breaks the image-view.
if i now open this contact the area where the image normally is is just gray -
and also the context-menu is not working anymore.
i searched for a textual part from this contact in all files in my profile folder and found the svg image this way (it is a company logo) at
i closed Thunderbird and overwrite this file with a png image (but leave the exact same svg file name ;-) )
opened Thunderbird again - and yeah - this worked - the image is shown and the context menu also worked again.