<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 - "Display tracked deletions in margin" option does not take into effect immediately"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138666">138666</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Display tracked deletions in margin" option does not take into effect immediately
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.0.0.beta1+
          </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>ming.v.hua@qq.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>137770
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The new "display tracked deletions in margin" option doesn't have (full) effect
on how text is displayed immediately after changing the option in Tools >
Options dialog, only after a save the effects are shown.

Steps to reproduce:
1. Clean user profile, new writer document, type or paste some random text;
2. Turn on change tracking with menu "Edit > Track Changes > Record";
3. Delete some part of the text, they are shown in place colored and with
strikethrough;
4. Tools > Options > LO Writer > View dialog, check "Tracked deletions in
margin", press OK button;
5. The deleted text now are both shown in margin, *and* shown in place colored
and with strikethrough;
6. Save the document, now the deleted text is only shown in margin.

Expected behavior:
In step 5 above, the deleted text should be only shown in margin.

Similar bug exists if the deletion was done when "Tracked deletions in margin"
was checked, then the option is unchecked in the dialog.  The deleted text
would disappear from margin and *not shown in place* until the document is
saved.

This is 7.1.0 Beta1 on Windows 10:
Version: 7.1.0.0.beta1 (x64)
Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: threaded</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Tracked changes in margin"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137770">Bug 137770</a>] [META] Tracked changes in margin
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>