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

            Bug ID: 98442
           Summary: Redo of editing incomplete in comment editing
           Product: LibreOffice
           Version: 5.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: l...@zeta.org.au

Created attachment 123310
  --> https://bugs.documentfoundation.org/attachment.cgi?id=123310&action=edit
Sample files to reproduce the problm

I pasted text and the associated comment from old-doc to new-doc, then began
adding to (editing) the comment.
Then I wished to check that I had not (previously) changed the text in new-doc
that the comment was attached to.  So I used Undo until the changes I'd just
made were all gone; found that I had /not/ made any changes to the text, and
then tried to Redo all the edits.  All changes except the two edits I'd made to
the copied-comment "re-played".  (The changes were: deleting a leading blank
line at the start of the comment, and then appending a newline and the text
"[L]]" at the end of the comment.

While a minor problem, it seems indicative of a possibly-serious logic error,
and thus worth reporting. I was able to reproduce it with the attached two tiny
files.

Steps to reproduce:

1. Open both docs.
2. In "old", copy the text "black as pitch" and its associated comment.
3. Select the text "black as pitch" in the "new" doc, and paste to replace the
text and add the comment.
4. Click into the comment in "new" and delete the empty blank line.
click to the end of the comment and Type <enter><enter>[L]<enter>
5. Undo all change to "new".
6. Redo until no further changes occur.

Result:
The edits made to the comment itself in "new" are not "replayed".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to