<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 - Paragraph style is lost after Clear Direct Formatting (Ctrl+M)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111002">111002</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Paragraph style is lost after Clear Direct Formatting (Ctrl+M)
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6.0.4 release
</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>mikekaganski@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Prerequisites:
1. Two system input languages.
2. Options-Language Settings-Languages-Ignore system input languages is *NOT*
checked.
Steps to reproduce:
1. Create a new text document.
2. Create a new paragraph style, named e.g. "red". Modify it to have red
character color (to be easily visible). It is automatically set as current.
3. Type some characters in first paragraph (in first system language, e.g. in
Russian). Language in status bar should reflect currently selected language.
4. Add an empty paragraph.
5. Switch input language (I used English). Type some letters to make two other
paragraphs. Again, language in status bar should reflect currently selected
language.
6. Add new empty paragraph. Switch back the input language. Add some characters
to last paragraph (after empty one).
Having done the above, I had this:
==== CONTENT BEGINS BELOW ====
первый
second
third
четвёртый
==== CONTENT ENDS ABOVE ====
They all were colored red (because their paragraph style was "red"). First and
last paragraphs had Russian language, middle two had English language.
7. Select the two middle paragraphs and apply "Highlight Color" tool.
8. Select text of first of these two middle paragraphs and use drop-down next
to "Highlight Color" tool to apply "No Fill".
9. Select text of second of these two middle paragraphs and use Ctrl+M (Clear
Direct Formatting).
At this stage, both middle paragraphs should have returned to normal state: no
highlight, red text color.
10. Save file (without doing anything else after step 9). Close and reopen.
Expected result: text should stay as it was prior to saving.
Actual result: second of the two middle paragraphs (the one on which Ctrl+M was
applied) lost paragraph style and reverted to Default style (and it is black).
Tested with Version: 5.4.0.3 (x64)
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Windows 6.19; UI render: default;
Locale: ru-RU (ru_RU); Calc: group
and Version 3.6.0.4 (Build ID: 932b512)
but not with LibreOffice 3.5.0rc3
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
This is loss of formatting.</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>