<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 - Removing direct formatting doesn't remove background"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108661">108661</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Removing direct formatting doesn't remove background
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>4.4 all versions
          </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>minor
          </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>gponzo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Using "Remove Direct Formatting" (CTRL+M) it should remove any property
specified on a paragraph, bringing it back to its parent style.

But from 4.4 on, when you call that feature, all properties are reset, except
for any background you've set, such as color, gradient, bitmap and so on, that
remains there.

Steps to Reproduce:
1. Open Writer
2. Set a background color (i.e. from Menu Format -> Paragraph --> Area)
3. hit CTRL+M (or click on "Remove Direct Formatting" button on Format ToolBar

Actual Results:  
The background stays there, other properties (i.e. bold, justified...) are
correctly reset

Expected Results:
The paragraph's attributes should be all reset, including background, bringing
that paragraph back to its parent style attributes.


Reproducible: Always

User Profile Reset: Yes

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 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>