Apache OpenOffice (AOO) Bugzilla – Issue 126259
Table cell formatting replaced during copy
Last modified: 2015-09-26 20:02:30 UTC
Created attachment 84682 [details] two files as described in the bug report Formatting cells of a table in writer works as expected except when one cell's contents are copied to another. In this case, the formatting of the cell reverts to the default formatting. The table is formatted with the same bullets and paragraph formatting in the entire column. When either the entire or a part of the cell's contents is copied and pasted into another cell of the same column, the the pasted material reverts to the default formatting for bullets and paragraphs. Happens with a direct copy/paste or a copy/clear-formatting-from-the-clipboard/paste. Also happens with a direct move (hilight content/drag-and-drop content). Able to restore formatting using the copy-format tool (brush) to copy format from another (correctly formatted) cell. A bare-bones example is included. Case1.odt is the original file where the cell formatting hs been applied. Case2.odt is the result of copy/paste (or drag-and-drop) movement of cell contents. Note that the formatting of the target cell is changed. While it is possible to correct this fault by using the brush tool to force reformatting of the damaged cell, it is not efficient.
Created attachment 84943 [details] Includes Graphic of Steps involved in reproduction
Created attachment 84944 [details] Final File after replication
I tried to replicate the bug by following steps: 1.Insert a table with one column and two rows. 2.Write a sentence in each column. 3.Use same bullet formatting in both rows. 4.Change the indent of the bullets to a bit right. 5.Copy the a part of sentence from second row. 6.Paste the copied content in the first row and observe the change in formatting to default. Attached files: Result.odt : has the resulting file by the action performed. Steps.odt : has graphic illustration of the steps to recreate bug.
Follow up test: Copy the second line into a different row. Result : Bullet lost and formatting reverts to original.
Mudit and I are testing together, using: Windows Version 8.1 AOO420m1(Build:9800) - Rev. 1692551 If you copy the contents of the cell and paste, the indents and bulleting reverts to the default. However, if you select and copy the entire cell, the custom formatting of the cell is copied with the text. Similarly, selecting and moving the text of the cell loses formatting but selecting and moving the entire cell (the highlight covers the whole cell, including the blank parts of it) then the formatting copies too. Mudit advises me that the same thing happens on his Mac, running Yosemite and a recent version of OpenOffice.
This appears to be the same as 52631.