Bug 90134 - EDITING: Undo after dragging (cut and paste) selection from document to comment does not remove pasted text from comment
Summary: EDITING: Undo after dragging (cut and paste) selection from document to comm...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2015-03-20 18:17 UTC by Gordo
Modified: 2022-10-06 04:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot1 (64.93 KB, image/png)
2015-03-20 18:17 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordo 2015-03-20 18:17:19 UTC
Created attachment 114218 [details]
screenshot1

Drag selection (cut and paste) to comment:
1. New Text Document.
2. Type “This is a test.” and return.
3. Type “This is also a test.” and return.
4. Select “test” in first sentence and Insert → Comment.
5. Type “Test comment one” in the comment.
6. Select “This is also a test.” and drag to comment after “one”.
7. Undo.
Expected Result:
Original sentence is restored in document and sentence removed from comment.
Result:
Original sentence is restored in document, but the sentence still appears in comment.
Note:
If selection is dragged from the same paragraph that has the comment then undo works correctly.

Dragging selection from comment to document requires two undos, three if all of the comment is dragged out thereby deleting the comment.

Dragging selections (cut and paste) between comments results in blackness:
1. New Text Document.
2. Type “This is a test.” and return.
3. Type “This is also a test.” and return.
4. Select “test” in first sentence and Insert → Comment.
5. Type “Test comment one” in the comment.
6. Select “test” in second sentence and Insert → Comment.
7. Type “Test comment two” in the comment.
8. Select “two” in second comment and drag to first comment after “one”.
Expected Result:
“two” is appears after “one”.
Result:
Blackness appears in the place of the word “two”.
Note:
After saving, closing, and reopening the document, “two” is missing.  I retyped “two” and redid the dragging to the first comment and everything was ok--there was no blackness.
9. Undo.
Expected Result:
“two” restored in second comment and removed from first comment.
Result:
“two” restored in second comment, but not removed from first comment.

Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Comment 1 A (Andy) 2015-03-21 08:24:08 UTC
Both issues are reproducible with LO 4.4.1.2., Win 8.1.
Comment 2 tommy27 2016-04-16 07:26:20 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-05-22 13:22:14 UTC Comment hidden (obsolete)
Comment 4 Zineta 2017-10-04 11:28:27 UTC
Reproducible in LO 5.2.7.2 and LO 6.0 
OS Win7 :after undo original sentence is restored in document, but the sentence still appears in comment.
 
The second part of bug can not reproduce.(Dragging selections (cut and paste) between comments results in blackness)
Comment 5 Zineta 2017-10-04 11:50:43 UTC
Also present with LO 3.3.0 and OOo 3.3.0 so I changed version  to Inherited from OO
Comment 6 QA Administrators 2018-10-05 02:52:39 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2020-10-05 03:56:20 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2022-10-06 04:10:47 UTC
Dear Gordo,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug