<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 - Drag and drop of media files always links/never embeds"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134297">134297</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Drag and drop of media files always links/never embeds
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.1.5.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>Impress
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tychokirchner@mail.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When dragging-dropping media, like an mp3-audio or a video onto a slide, it is
*always* linked and never embedded into the presentation, regardless of whether
shift or ctrl (or both) is held down (see also
<a href="https://help.libreoffice.org/6.1/en-US/text/shared/guide/dragdrop.html">https://help.libreoffice.org/6.1/en-US/text/shared/guide/dragdrop.html</a> ).
However, even if explicitly inserted as link, it does not show up in
Edit->Links to external file.
One way to see that it's not working is to save the presentation and look at
the file-size afterwards. When moving the presentation to another computer or
reanming/deleting the referenced file, the media is thus not available.
If the media is inserted via Insert->Audio or Video it is correctly embedded.
Side note: if inserted via Insert->Audio or Video with the "Insert as
Link"-option checked, it does also *not* appear in Edit->Links to external
file.


Steps to Reproduce:
1. Drag-Drop a media file from a file-manager onto a slide (holding ctrl-button
so the + appears)
2. Save the odp -> note already that the file size stays (too) small
2. Close libreoffice (so the media-file is for sure *not kept open*)
3. Rename the previously inserted media-file
4. Reopen the presentation - the media cannot be played (but there is also no
useful message that the file cannot be found...)


Actual Results:
No media is playing

Expected Results:
If dragged-dropped with the +-sympol the media file should be embedded.
Media files should also appear in Edit->Links to external files
Not found linked media should provide an error message that file x at place y
cannot be found.
When an image is added via Insert/Image with the "Insert as Link"-option
checked it is asked wheter it shall be embedded. Such a question should also be
asked when using Insert->Audio or Video.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u6
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.utf8); Calc: group threaded</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>