<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 - FORMATTING: When undo and redo, custom styles and formatting lost"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113640">113640</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FORMATTING: When undo and redo, custom styles and formatting lost
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>4.4.0.3 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>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>highest
</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>suokunlong@126.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
This is a split from <a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING: When undo and redo, custom styles and formatting lost, or full crash."
href="show_bug.cgi?id=88555">bug 88555</a>. That bug report reported the lost of custom
styles attributes, and the crash, when doing undo and redo.
The crash issue was fixed in that bug report, but the lost of custom style
attributes issue is still there, which is a different problem.
Steps to Reproduce:
1. New Writer;
2. Create a new paragraph style (named "test") based on the default style, font
color = blue.
3. Type in "abc" in your document, then apply style "test" to the text.
4. Undo until you can not undo. (I mean, undo all the steps, untill the "undo"
toolbar icon is grayed out).
5. Redo untill you can not redo. (I mean, redo all the steps, untill the "redo"
toolbar icon is grayed out).
Actual Results:
"abc" is in black color
Expected Results:
"abc" is in blue color with the "test" style applied.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Aparently, by doing "undo" in step 4,
* Firstly the applying of style "test" to text "abc" was undone;
* Then the style attributes of "test" was undone;
* Then the creation of style "test" was undone.
However, by doing "redo" in step 5,
* The creation of style "test" was redone,
* But the style attributes of "test" was NOT redone (or was not redone
correctly)
* Also the applying of style "test" to text "abc" was not redone.
I set this to NEW during reporting as it was already confirmed in the original
bug report.
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101
Firefox/56.0</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>