Bug 45043

Summary: EDITING: pasting table contents from a writer table incorrect
Product: LibreOffice Reporter: Andy <silvandy>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jbfaure, LibreOffice
Priority: medium    
Version: 3.4.4 release   
Hardware: Other   
OS: All   
Whiteboard: BSA target:3.5.0
Crash report or crash signature: Regression By:
Attachments: a Zip containing both a writer file with the original table and a calc file woth the wrong paste result

Description Andy 2012-01-21 09:37:45 UTC
Created attachment 55919 [details]
a Zip containing both a writer file with the original table and a calc file woth the wrong paste result

Problem description: create a table in a writer table, even a very simple one like a 3x3 table, and put some numbers into its cells.
Then select the whole table and copy it.
Move to an open calc spreadsheet, and try to paste the table anywhere. The table gets pasted but invariably the second column of the original writer table in the spreadsheet becomes a double column (e.g., if you paste your 3x3 table starting at A1, cells A1:A3 are pasted OK; then cells in the second original column become the join of the two cell of colums B and C, and the third original column is pasted in column D of the spreadsheet.
Of course you can unjoin the double cell and move the contend of column D near the forst two, but this is really annoying in ripetitive, intensive working.

I cannot remember exactly when this problems surfeced, but I am sure it was not there some time ago. Unfortunately is the typical issue you never notice until is there
I am attaching a couple of file (writer and calc) with an example of the problem, thank you for your attention
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Comment 1 Jean-Baptiste Faure 2012-01-22 02:54:50 UTC
I reproduce this behavior with LO 3.4.5 (Ubuntu build) but not with LO 3.5.0 rc1+
under Ubuntu 11.10 x86_64.

Please could try again with 3.5.0 rc1 ?

Thank you for your tests. JBF
Comment 2 Rainer Bielefeld Retired 2012-01-22 04:23:04 UTC
[Reproducible] with reporter's sample and "LibreOffice 3.4.5 German UI [Build ID: OOO340m1 (Build:502)]" parallel Server installation on German WIN7 Home Premium (64bit), 'Paste Special -> As RTF' shows the problem (also from own text tables.

but works fine with
"LibreOffice 3.5.0 RC1 Entlish UI/German Locale [Build-ID: b6c8ba5-8c0b455-0b5e650-d7f0dd3-b100c87] on German WIN7 Home Premium (64bit)  

Problem vanished somewhere between with Server installation of MSVC Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) ENGLISH UI [Build ID: 485138f-e92bf75-4c1bcb5]" Win-x86@6 – 2011-12-06_21:37:02) (still reproducible)
and
parallel installation of MinGW Master "LibO-dev 3.5.0 Beta 1 – WIN7 Home Premium (64bit) English UI (Build ID: 8935521-b204871-3e50423-4c1bcb5) (daily/Win-x86@7-MinGW/master/2011-12-13_03.17.52)" Paste is ok)

I believe currently fix in 3.5 is sufficient because simple workaround (Paste as HTML) and because it's unknown how and where exactly problem has been fixed.
Comment 3 Andy 2012-01-24 08:00:06 UTC
I can now confirm that LO 3.5 rc1 does NOT show the problem. Thanks
Comment 4 Robinson Tryon (qubit) 2015-12-22 01:30:45 UTC
Removing comma from Whiteboard (please use a space to delimit values in this field)
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started
[NinjaEdit]