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

            Bug ID: 99870
           Summary: "Delete Comment" in Comment drop-down menu sometimes
                    deletes the commented text!
           Product: LibreOffice
           Version: 5.1.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: l...@zeta.org.au

Sometimes (about one time in 5 or 10), when I click on the icon to bring up the
menu of commands that can be applied to a comment, and choose Delete, it
deletes the text in the body of the document, that is being commented on.

(I thought I had reported this bug months ago, but couldn't find any report of
it, so perhaps I overlooked doing so, sorry.)

I've just now experimented and found steps that appear to make the bug
(completely?) reproducible:

1.
Select the text in the body of the document which the comment highlights (being
careful to select the text and using the extra Shift-(Right-arrow) key to make
sure the comment itself is also selected
2.
Without de-selecting the body text, bring up the comment's menu.
3.
Click on the "Delete Comment" menu item.

Result:
Comment *and body text selected* is deleted when you choose "Delete comment".

Expected result:
Just the comment is deleted.  (Ideally, the body text would remain selected.)

Workaround:
4. Undo to undelete the text and comment that was just deleted. Ensure text is
deselected. Bring the comment menu back; hit Delete Comment again.

I can't test the reproducibility as much as I'd have liked, because at "step 4"
(for working around the problem), usually the comment has been broken in that
it no longer highlights the text it used to.

That in fact may be a separate bug?  But if this is fixed, the other bug would
not be detectable, I imagine.


This happens very frequently to me since a good workflow when working with
someone who has provided comments to documents I'm writing(*) is to copy the
commented text and the comment across to the current version of my document. 

Because of bug 60418 it's important to delete the comment from the (copy of the
commented-document), so that performance gradually improves when working on the
old, commented, document.

Because of this, I find I often have to use the obvious workaround (described
above); but each of these operations takes typically 10 secs or so, because of
bug 60418.  (Made worse because sometimes a click on the icon to bring up the
menu appears to "get lost" before LO wakes up and does something, so you have
to click, wait a bit, click again, wait, ....)  So the problem I'm reporting is
a substantial waste of time until the number of comments has dropped below a
thousand or so.  And it's easy to forget to de-select the body text before
bringing up the comment's menu; and especially so because I suspect that
mouse-clicks into the body of the document (to de-select the text) also get
"lost" sometimes before LO "wakes up".  Probably because it's struggling due to
bug 60418.

(*)
Partly due to bug 60418.  But it's also a good workflow if you are taking
comments while continuing to work on the document yourself, so you have to work
from your own latest up-to-date version.

-- 
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