Bug 39721

Summary: Moving a section with the up/down arrows of the "Bullets and Numbering" toolbar resurrects deleted text when "Record Changes" and "Show Changes" are enabled
Product: LibreOffice Reporter: karlsen-masur
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: gtimur, karlsen-masur, sasha.libreoffice
Version: 3.4.2 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 38745    
Bug Blocks:    

Description karlsen-masur 2011-08-01 08:31:29 UTC
Tested with LibreOffice 3.4.2 OOO340m1 (Build:203) on Linux

How to reproduce:

1. create an empty text document in writer
2. disable "Edit->Changes->Record"
3. disable "Edit->Changes->Show"
4. enable "View->Toolbars->Bullets and Numbering"
5. Type a paragraph, e.g. "the quick brown flying fox jumped over the lazy dog"
6. Start a new paragraph hitting enter key
7. Type another paragraph, e.g. "Franz jagt im komplett verwahrlosten Taxi quer durch Bayern"
8. enable "Edit->Changes->Record"
9. enable "Edit->Changes->Show"
10. Move the cursor into the first line, delete some text, e.g. the word "flying " - leave the cursor in that line
11. Use "ctrl-alt-cursor-down" (equivalent to the single down arrow of the Bullets and Numbering toolbar) to move the first paragraph down under the second paragraph
12. Since Record & Show Changes is enabled the first paragraph gets crossed out (as expected)
13. the text is moved down (as expected) but
14. ups, the deleted text is back in this moved paragraph, so I get "the quick brown flying fox jumped over the lazy dog" and need to correct it again....

In step 14 I expected either 

1. the 1st paragraph including the deleted text still marked as deleted text; or

2. the 1st paragraph but the previously deleted text "flying " being completely forgotten - since in terms of the Record Changes logic I guess this is all new text at its new position except for the previously deleted text.

If I "simulate" the "ctrl-alt-cursor-down" function by the sequence of marking the complete 1st paragraph, ctlr-x it and move the cursor down under the last paragraph and ctrl-v it I get the second option of what I expected.

On a side note this seems to be connected to Bug 38745 since I also get that crash when messing with the undo/redo function afterwards.
Comment 1 Björn Michaelsen 2011-12-23 12:27:21 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 sasha.libreoffice 2012-01-30 04:12:50 UTC
reproduced in LibO 3.6.0 master on Fedora 64 bit
Comment 3 karlsen-masur 2013-02-05 14:50:45 UTC
Just reproduced in LO Version 3.6.5.2 (Build ID: 5b93205).
Comment 4 Timur 2013-08-28 12:40:09 UTC
Testing sth. else, this is still a problem in 4.0.5.
Comment 5 Timur 2014-10-13 17:47:06 UTC
This is still a problem in LO 4.3.2. on Win64.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.