Apache OpenOffice (AOO) Bugzilla – Issue 102565
Paste in table: copied row should be inserted instead of replacing current row
Last modified: 2013-08-07 14:38:26 UTC
To realize the nature of the bug do the following: 1) type world 2) select and cut "world" 3) type "hello " 4) press ctrl+v 5) you will get "hello world" 6) select "hello world" 7) paste again -> the selected text is replaced with "world" But this does not work tables. When you copy a row, and then you paste it, no matter if the "target" row is selected or not, it is always replaced. Behaviour should be consistent, bug.
Instead of giving an example with simple text where it works, give an example with a table in a sample document. Describe what you do, get and expect. Text and tables are definitively NOT the same and cannot work the same way.
I know tables and text are not the same, but here behaviour can be the same and should be the same. How to reproduce it, step by step: 1. create two tables, A and B, 2x2 each 2. fill each cell with some text 3. select first row in table B and copy it 4. position the caret in the last row of A, left column 5. paste 6. A is still 2x2, the last row is _replaced_ (bug) ad.6) the pasted row should be inserted because the mode is "insert" and the target row is not selected
@macias: Ok but there's a problem with the "expacted" result. Taking the example with the text (your first description): - you pasted "world" *after* "hello" - in the table example, the cursor is *at the beginning* of a row and *inside of* the entity (row). So comparing the cursor position in the table with that one in the text, the cursor is inside the word at a stating position: "h|ello". To make it short: it's not clear if the table row to insert (desired enhancement) sould be *before* or *after* the current row.... @requirements: paste in table of copied row should be inserted instead of replacing current row Reassigned
I don't see how fixing a bug is enhacement. It is a bug because it is inconsistent and and it ignores mode (insert). Inserted row should be placed after for the same reason -- consistency. When you paste two rows at the end of the table, first row is replaced the second row is inserted. Anyway, if user does not pay attention and rely on OOWriter status this leads to data loss (data that has been replaced).