<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 - EDITING: images duplicated after undo"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143815">143815</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: images duplicated after undo
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.3.0.0 alpha0+ Master
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>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>xiscofauli@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=174194" name="attach_174194" title="sample file">attachment 174194</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=174194&action=edit" title="sample file">[details]</a></span>
sample file

I found this issue while creating a unittest for <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - CRASH: Undoing cut. track changes related ( debug build )"
   href="show_bug.cgi?id=135247">bug 135247</a>

Steps to reproduce:
1. Open attached document ( Same as sw/qa/extras/uiwriter/data/<a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - Crash swlo!BigPtrArray::Index2Block+0xc8:"
   href="show_bug.cgi?id=132911">tdf132911</a>.odt )
2. Select all
3. Cut
4. Paste - 4 images
5. Paste - 8 images
6. Undo - 4 images
7. Undo - 0 images
8. Undo

At this point, the number of images should be 4, however, there are 8 images in
the document

Reproduced in

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 6e53e03f752c2f85283c4d47efaaf0683299783c
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: 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>