Issue 111147

Summary: Undoing changes in table structure messes up some structual table information
Product: Writer Reporter: steffen_boersig <steb>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO320m12   
Target Milestone: ---   
Hardware: Unknown   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Document t reproduce none

Description steffen_boersig 2010-04-26 10:04:09 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.
Comment 1 michael.ruess 2010-04-26 11:15:10 UTC
Created attachment 69109 [details]
Document t reproduce
Comment 2 michael.ruess 2010-04-26 11:24:40 UTC
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.
Comment 3 Marcus 2017-05-20 11:15:18 UTC
Reset assigne to the default "issues@openoffice.apache.org".