<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Draw: EDITING: Insert .gif Image instances wrong image in drawing"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113962#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Draw: EDITING: Insert .gif Image instances wrong image in drawing"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113962">bug 113962</a>
from <span class="vcard"><a class="email" href="mailto:jhoward@alumni.caltech.edu" title="James D Howard <jhoward@alumni.caltech.edu>"> <span class="fn">James D Howard</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=137908" name="attach_137908" title="Example reproducer (.tgz)">attachment 137908</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=137908&action=edit" title="Example reproducer (.tgz)">[details]</a></span>
Example reproducer (.tgz)
Attached file - Bugz-113962-Example.tgz - contains an .odg and 2 image files:
one .jpg, another .gif
To reproduce:
1. make a new empty directory && cd there
2. extract: tar -xvf Bugz-113962-Example.tgz
3. open NetDiag.odg
4. Do [Insert]->[Image...] && select the file Fconnector-RG-6-ActuallyJPG.gif
5. Do [ Open ]
NOTE: The problem [Insert]->[Image...] occurs with the file
Fconnector-RG-6-ActuallyJPG.gif
As the current file name implies the actual content of the file is in .JPG
format, but the "name" of the file is using the .gif extention. Don't know
origin of that confusion; it was downloaded from a Google images search that
way (then renamed as you see here, but keeping the .gif extension).
Result:
Image appearing on the drawing canvas is the already-present picture of a
D-Link desktop 8-port switch
Expected result:
1.) Image appearing on the drawing canvas is the image actually in the file -
that of an RG-6 F-connector
-- or --
2.) An error message that the file actual content (.JPG) is not of the
type implied by the file name suffix (.gif)
NOTE: Even though there is a disagreement between the file name suffix
(".gif") and the actual content type (".jpg", as shown with the "file"
shell command), other image viewers - including 'GIMP', the Midori, Opera,
Firefox and Chrome browsers - pick up and render the file as per actual
content.
NOTE: I find that the 'Ristretto Image Viewer' does notice the
disparity and shows a blank image and a top banner error message.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>