[Libreoffice-bugs] [Bug 113962] Draw: EDITING: Insert .gif Image instances wrong image in drawing
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 22 04:22:35 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113962
--- Comment #2 from James D Howard <jhoward at alumni.caltech.edu> ---
Created attachment 137908
--> https://bugs.documentfoundation.org/attachment.cgi?id=137908&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171122/f1f9b75b/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list