Bug 101449 - First two lines missing after importing csv files into Calc Spreadsheet FILEOPEN
Summary: First two lines missing after importing csv files into Calc Spreadsheet FILEOPEN
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 09:24 UTC by Ray Stefancsik
Modified: 2016-08-11 15:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test file that reproduces bug for me. (50 bytes, application/force-download)
2016-08-11 09:24 UTC, Ray Stefancsik
Details
Imported from csv test file - NOTE: first two lines of csv missing (7.52 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-08-11 12:52 UTC, Ray Stefancsik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Stefancsik 2016-08-11 09:24:47 UTC
Created attachment 126746 [details]
Test file that reproduces bug for me.

The first two lines from imported csv files disappear after importing them into Calc Spreadsheet.
I am attaching a test file that reproduces the bug for me using
LibreOffice Version: 5.2.0.4
Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 4; OS Version: Mac OS X 10.11.5; UI Render: default; 
Locale: en-GB (en_GB.UTF-8)
Comment 1 Alex Thurgood 2016-08-11 12:30:47 UTC
No repro with 

Version: 5.1.5.2
Build ID: 7a864d8825610a8c07cfc3bc01dd4fce6a9447e5
Threads CPU : 2; Version de l'OS :Mac OS X 10.11.6; UI Render : par défaut; 
Locale : fr-FR (fr.UTF-8); Calc: group

1) Start LO
2) Drag and drop CSV file provided in bug report onto LO Dock icon
3) CSV import wizard opens.
4) Choose comma as separator, Code page is ISO8859-15(Euro), Language = FR, Start From line 1, click on OK

5) CSV file imported into Calc with three lines:
COLUMN1 COLUMN2 COLUMN3
row1 1 blank
row2 2 2
row3 3 3
Comment 2 Alex Thurgood 2016-08-11 12:32:35 UTC
No repro with

Version: 5.3.0.0.alpha0+
Build ID: 3a668616968dbce778c54ec56847828efa7bdb6d
CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; 
Locale: fr-FR (fr.UTF-8); Calc: group
Comment 3 Alex Thurgood 2016-08-11 12:33:33 UTC
@Ray : if you are doing something differently to what I described here, please give detailed instructions.

Setting to NEEDINFO pending requested information, please set back to UNCONFIRMED once you have done this.
Comment 4 Ray Stefancsik 2016-08-11 12:52:09 UTC
Created attachment 126759 [details]
Imported from csv test file - NOTE: first two lines of csv missing

@Alex,
Thanks for looking into it.

Here is what I did:
1. Start LO
2. File > Open Document
3. Import Dialogue: hit OK

I also get the same error if I double click the file and open it with the default application (LibreOffice).
I also get the same bug if I drag and drop CSV file provided in bug report onto LO Dock icon

Changing the language from en_GB to FR (France) and character encoding from UTF-8 to ISO8859-15(Euro) results in the same bug to me.
Comment 5 m_a_riosv 2016-08-11 15:13:32 UTC
Verify that you have not selected a number different than 1 on the Import - From row field.
Comment 6 Ray Stefancsik 2016-08-11 15:24:46 UTC
It looks like "From row" was set somehow to '3'.
Changing it to 1 solves the issue.
Sorry for the false alarm and thanks for your help in solving the issue.