<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:gtimur@gmail.com" title="Timur <gtimur@gmail.com>"> <span class="fn">Timur</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Undo on a section causes a delay and returns the wrong text"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=77559">bug 77559</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Hardware</td>
           <td>x86-64 (AMD64)
           </td>
           <td>All
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">OS</td>
           <td>Linux (All)
           </td>
           <td>All
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Undo on a section causes a delay and returns the wrong text"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=77559#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Undo on a section causes a delay and returns the wrong text"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=77559">bug 77559</a>
              from <span class="vcard"><a class="email" href="mailto:gtimur@gmail.com" title="Timur <gtimur@gmail.com>"> <span class="fn">Timur</span></a>
</span></b>
        <pre>I reproduced with 6.1+ like this:
1. Open a new Writer document.
2. Write the 4 lines "Test1", "Test2", "Test3", "Test4".
3. Select "Test2".
Go to Insert -> Section, enable the checkbox "Hide", insert the condition
"hidden==1" without doublequotes and click on "Insert".
4. Select "Test4".
Go to Insert -> Section and click on "Insert".
5. Put cursor before "Test2" and press Delete to delete text and than again to
delete the section.
6. Press CTRL + Z to Undo.
The second line will now be empty.
7. Press CTRL + Z to Undo again.
Test2 appears now again in the section but this line got duplicated as
non-section at the end.</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>