Opened 13 years ago

Last modified 10 years ago

#8957 confirmed Bug

Copy-paste of table rows does not work correctly

Reported by: IBM_RQM Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM Cc: satya_minnekanti@…

Description

Scenario 1 -

  1. Create a table with 3 rows and 5 columns.
  2. Enter some data in each row and column.
  3. Add 2 more rows to the table.
  4. Select row 1 & 2, copy the text using ctrl+c.
  5. Now Select row 4 & 5 and paste the text using ctrl+v.

Actual Result: Row 4 & 5, will get merged as single row and Row 1 & 2 will be get pasted in a single row

Expected Result: The text in row 1 & 2 should be get copied to row 4 & 5 similar to what we see in ms-word

Scenario 2 -

  1. Perform the first 4 steps as mentioned in scenario 1
  2. Put the cursor in row 4 column 1
  3. Press ctrl+v to paste the text

Actual Result: Row 1 & 2 will be get copied in row 4 column 1.

Expected Result: The text in row 1 & 2 should be get copied to row 4 & 5 similar to what we see in ms-word

Scenario 3 -

  1. Perform the first 3 steps as mentioned in scenario 1
  2. Select any single cell (Say Row 1 column 1)
  3. Put the cursor in row 4 column 1
  4. Press ctrl+v to paste the text

Actual Result: The text in the selected column will be get pasted in row 4 column 1 along with column border.

Expected result: Only the text in a column should be pasted and not the column border

Attachments (1)

Table_Copy_Paste_Issues.jpg (65.6 KB) - added by IBM_RQM 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by IBM_RQM

Attachment: Table_Copy_Paste_Issues.jpg added

comment:1 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.6.13.0

The above scenarios were made for Firefox but problem also exists in other browsers. Here are my findings:

Scenario 1 -
IE - It is not possible to paste content when multiple cells are selected in IE (no matter whether they are empty or not).
Firefox - Reproducible from CKEditor 3.1
Webkit - Reproducible from CKEditor 3.1 but two empty selected rows (4 and 5) are replaced with one created from pasted content (rows 1 and 2)
Opera - Contents are pasted as text into first cell selected. Already reported in #7846

Scenario 2 -
IE - Reproducible from CKEditor 3.0
Firefox - Reproducible from CKEditor 3.0
Webkit - Reproducible from CKEditor 3.0
Opera - Contents are pasted as text into first cell selected. Already reported in #7846

Scenario 3 -
IE, Firefox, Webkit - If you select only text it will work. If you select whole cell it will be pasted as new inner table. I know that this is not what MS Word does but IMO this is quite valid behaviour - you select text you get text, you select cell you get inner table. Any comments here anyone?
Opera - Because of pasting problems mentioned in #7846, this works as described in TC. As mentioned earlier I'm not sure if this should not work as in other browsers.

comment:2 Changed 13 years ago by Jakub Ś

NOTE: bug reported by @satya #8588 at least in my opinion suggests that IE, Webkit and Firefox work actually ok in scenario 3.

Taking the above into account behaviour, scenario 2 is also correct (except for Opera).

Again taking the above into account, scenario 1 for Firefox is correct but there are problems in Opera, IE and Webkit. For the last two probably separate tickets should be reported.

Version 0, edited 13 years ago by Jakub Ś (next)

comment:3 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

adding myself to cc on this ticket

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy