Bug 39721 - 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
Summary: Moving a section with the up/down arrows of the "Bullets and Numbering" toolb...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 38745
Blocks: Track-Changes
  Show dependency treegraph
 
Reported: 2011-08-01 08:31 UTC by K.M.
Modified: 2018-06-20 12:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description K.M. 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 Comment hidden (obsolete)
Comment 2 sasha.libreoffice 2012-01-30 04:12:50 UTC
reproduced in LibO 3.6.0 master on Fedora 64 bit
Comment 3 K.M. 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 Comment hidden (obsolete)
Comment 5 Timur 2014-10-13 17:47:06 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2015-10-14 19:57:57 UTC Comment hidden (obsolete)
Comment 7 Timur 2015-10-15 07:03:45 UTC
Same behavior in 5.1+.
Comment 8 QA Administrators 2016-11-08 11:32:07 UTC Comment hidden (obsolete)
Comment 9 K.M. 2016-11-08 12:24:52 UTC
Still the same behavior in LibreOffice 5.2.3.2 on Xubuntu LTR 16.04.1.
Comment 10 QA Administrators 2018-06-05 02:38:41 UTC Comment hidden (obsolete)
Comment 11 K.M. 2018-06-19 15:05:44 UTC
Still the same behaviour on

Version: 6.0.4.2
Build-ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU-Threads: 4; BS: Linux 4.4; UI-Render: Standard; VCL: gtk2; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group