Apache OpenOffice (AOO) Bugzilla – Issue 111147
Undoing changes in table structure messes up some structual table information
Last modified: 2017-05-20 11:15:18 UTC
If you try to copy some rows (>1) of a table, and copy that content into a single row the table will be expanded and the copied rows will be inserted properly. But after you revert the copying step just after that, and do the copy command the second time the result will be different. All content of the copied rows after the first will be copied into the last cell. Difficult to explain so a step-by-step guide will let you see the problem. 1.) Create a table in Writer 2 columns, 3 rows. 2.) Insert content into the first 2 lines like A1, A2, B1, B2. 3.) Select the first 2 lines. 4.) uno:Copy ( Ctrl + C ) 5.) Step into the first cell of the last row. ( C1 ) 6.) uno:paste ( Ctrl + V ) 7.) ==> Result 1 8.) Revert the copy command; uno:undo ( Ctrl + Z ) 9.) Copy again; uno:Copy ( Ctrl + C ) 10.) ==> Result 2 Result 1 != Result 2 As far as I tested it, I seems not to be a problem of the copied content. That is not altered in the process, but the table is in some way. There seems to be some structural information of the table being modified but not reverted by the undo command.
Created attachment 69109 [details] Document t reproduce
MRU->MST: open the attached document, copy first two rows of table to clipboard, place cursor in cell C1 and paste content -> looks OK. Now Undo and paste again -> now no new row will be generated. It is essential that you do not place the cursor outside the table after the Undo process. When leaving the table and placing cursor again in the table the problem will not occur when then pasting again.
Reset assigne to the default "issues@openoffice.apache.org".