<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Draw: EDITING: Insert .gif Image instances wrong image in drawing"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113962">113962</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Draw: EDITING: Insert .gif Image instances wrong image in drawing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.3.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Draw
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jhoward@alumni.caltech.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
An existing .odg drawingis being edited.  With nothing selected,
[Insert]->[Image...] dialog box is used, and a .GIF file is selected.  Upon [
Open ], an image is added to the drawing, but it is NOT the image chosen - it
is another image already inserted into the drawing.  The previously inserted
image is a .JPG (if that has any bearing on the problem.)

After [Edit]->[Undo Insert ...], I used GIMP to read the .GIF file, [Export] it
as a .JPG, and re-do the [Insert]->[Image...] -- selecting the just created
.JPG.  This time the expected image is inserted.

Steps to Reproduce:
0. Existing drawing with several images placed; drawing opened
   for editing. Have a .GIF image in a file ready to be the
   target of an [Insert]->[Image...].  Nothing selected
1. Open file selection dialog box using [Insert]->[Image...], select
   your .GIF image
2. hit [ Open ]
3. A previously-used image is re-instantiated into the drawing, NOT
   the image in the selected .GIF

Actual Results:  
An additional placement of an image already in the drawing newly appears, and
the image in the selected file is nowhere to be seen

Expected Results:
Image in the .GIF file should be placed on the drawing canvas, ready to be
resized, moved, etc.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 5.3.7.2.0+
Build ID: 5.3.7.2-1.fc26
CPU Threads: 8; OS Version: Linux 4.13; UI Render: default; VCL: gtk3; Layout
Engine: new; 
Locale: en-US (en_US.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/62.0.3202.75 Safari/537.36</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>