<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 - linking image by drag and drop using ctrl+shift result in wrong path"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124500">124500</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>linking image by drag and drop using ctrl+shift result in wrong path
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>s.follador@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=150484" name="attach_150484" title="wrong file path after drag+drop image while pressing ctrl+shift, and correct one (image->insert)">attachment 150484</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=150484&action=edit" title="wrong file path after drag+drop image while pressing ctrl+shift, and correct one (image->insert)">[details]</a></span>
wrong file path after drag+drop image while pressing ctrl+shift, and correct
one (image->insert)

Problem description:

whenever I insert an image by dragging and dropping while pressing ctrl+shift
keys, it results in a linked image, but with a wrong path (see attached file,
1st picture): you can spot the wrong path file, because the filename got
changed with random character and usually is present the tilde operator; this
behavior doesn't apply only the filename part of the path, but I've seen also
happen to parts of the root. 

The correct pathfile, shown in the 2nd figure of the attached file, is obtained
by linking the image via the menu (insert -> image -> select picture -> check
link box -> OK)

The image linked with the drag+drop/ctrl+shift method is correctly displayed if
the file is accessed on the original machine, but fails to resolve the path if
the document is accessed by another machine 

------------------------
Step to reproduce:
1. Open a document in LO writer
2. Drag and Drop a file in the document while pressing ctrl+shift
3. Double click on the inserted image and check filename on the image tab

------------------------
Current behavior:
the filepath doesn't match the real path where the file is saved; accessing the
LO document from any other machine could not resolve the path and image is not
displayed

------------------------
Expected  behavior:
the filepath match the real path where the file is saved; accessing the LO
document from any other machine shows the image as expected</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>