[Libreoffice-bugs] [Bug 113640] New: FORMATTING: When undo and redo, custom styles and formatting lost

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 4 10:42:38 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113640

            Bug ID: 113640
           Summary: FORMATTING: When undo and redo, custom styles and
                    formatting lost
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: highest
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: suokunlong at 126.com

Description:
This is a split from bug 88555. 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171104/a409c3c6/attachment-0001.html>


More information about the Libreoffice-bugs mailing list