<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 - Undo cut/delete of a picture with caption frame ignores picture"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107512">107512</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Undo cut/delete of a picture with caption frame ignores picture
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.3.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>till_d@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Undo or Redo of pictures inside caption frames don't restore the image itself.
The caption frame is restored but no image.
But it is possible to cut and paste the whole thing...

Steps to Reproduce:
1. Method delete:
2.  Paste a picture
3.  Insert caption
4.  Delete the picture
5.  Undo
6.  -> No picture

7.Method delete:
8.  Paste a picture
9.  Insert caption
10.  Cut the caption + pictue
11.  paste wherever in document
12.  Undo paste and undo cut
13.  -> No picture


Actual Results:  
picture is misson. 
undo/redo does not restore pictures inside caption frame.

Expected Results:
undo/redo should restore deleted pictures with captions


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/58.0.3029.81 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>