Bug 120523 - FILEOPEN XLSX Text with a manual line break looks different in Excel and Calc
Summary: FILEOPEN XLSX Text with a manual line break looks different in Excel and Calc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:xlsx, regression
Depends on:
Blocks: XLSX
  Show dependency treegraph
 
Reported: 2018-10-11 16:20 UTC by Gabor Kelemen (allotropia)
Modified: 2025-05-09 14:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel with pasted multiple lines text. (16.02 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-11 16:20 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the original document side by side in Excel and Calc. (202.34 KB, image/png)
2018-10-11 16:20 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2018-10-11 16:20:17 UTC
Created attachment 145621 [details]
Example file from Excel with pasted multiple lines text.

Text with a manual line break looks different in Excel and Calc, when we copy and paste (Paste Values) the text.

Steps to reproduce:

    1. Create a new spreadsheet in Microsoft Excel 2010.
    2. Write something in a cell and insert a line break (Alt+Enter).
    3. Copy the contents of the cell.
    4. Click the other cell.
    5. On the Home tab, in the Clipboard group, click Paste.
    6. Under Paste Values, click Values.
    7. Save the file as XLSX.
    8. Open the same file in LibreOffice Calc.

Actual results:
Microsoft Excel shows the complete contents of the pasted cell, but LibreOffice Calc shows the second line of the contents of the pasted cell.

Expected results:
LibreOffice Calc should show the complete contents of the pasted cell.


LibreOffice details:
Version: 6.2.0.0.alpha0+
Build ID: 94bf82a8ceba41c32cf3620529e6ce8ea94f18c0
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_01:10:23
Locale: en-US (hu_HU); Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2018-10-11 16:20:39 UTC
Created attachment 145622 [details]
Screenshot of the original document side by side in Excel and Calc.
Comment 3 QA Administrators 2019-12-10 04:03:54 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-12-30 07:23:43 UTC
still repro in

Version: 6.5.0.0.alpha0+ (x64)
Build ID: 42a1a1c6b91907f81e15066ffab219411f18c4db
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 5 QA Administrators 2021-12-30 03:47:17 UTC Comment hidden (obsolete)
Comment 6 Gabor Kelemen (allotropia) 2022-01-20 12:14:11 UTC
Content of A3 is still invisible in:

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 86b0753ca3a02d247b13f0a6654ae315ce3a044b
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 7 QA Administrators 2024-01-21 03:13:54 UTC Comment hidden (obsolete)
Comment 8 Andreas Heinisch 2025-05-09 14:07:06 UTC
Repro in:
Version: 6.4.7.2 (x64)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 32; OS: Windows 10.0 Build 26100; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: CL

No repro anymore in:
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cbdbc4e79c5b2ef7543aa9b423b5581c26dcd912
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded