Bug 137457 - When opening a csv file with Calc, the decimal point is removed, changing the value of the cell
Summary: When opening a csv file with Calc, the decimal point is removed, changing the...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 15:24 UTC by Carlos Brys
Modified: 2021-09-06 03:49 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A csv fole with coordinates (425 bytes, text/csv)
2020-10-13 15:26 UTC, Carlos Brys
Details
The CSV fields holding lat-long are correctly handled as signed decimal with Text Import dialog (75.18 KB, image/png)
2020-10-14 05:45 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Brys 2020-10-13 15:24:22 UTC
Description:
vales in the csv file:
-26.398,-54.418
-26.385,-54.464
-26.329,-54.623

values in the Calc cell

-26398,-54418
-26385,-54464
-26329,-54623

Steps to Reproduce:
Open a text csv file with de content:
-26.398,-54.418
-26.385,-54.464
-26.329,-54.623

Actual Results:
-26398,-54418
-26385,-54464
-26329,-54623

Expected Results:
-26.398,-54.418
-26.385,-54.464
-26.329,-54.623


Reproducible: Always


User Profile Reset: No



Additional Info:
The software should not have removed the decimal point.
Comment 1 Carlos Brys 2020-10-13 15:26:17 UTC
Created attachment 166350 [details]
A csv fole with coordinates
Comment 2 V Stuart Foote 2020-10-14 05:45:57 UTC
Created attachment 166358 [details]
The CSV fields holding lat-long are correctly handled as signed decimal with Text Import dialog

Can not confirm, user profile reset to default/first launch.

Text Import... dialog set for with just 'Comma' Separator option 

Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Please retest from Safe mode, or with full profile reset.
Comment 3 m_a_riosv 2020-10-14 18:28:10 UTC
If I'm not wrong, it's a matter of select in the 'Text import' box a language using a dot as decimal separator, so you can avoid selecting for every column the right column type 'US English'. In my case with Spanish, using 'English UK' works fine with many of the csv files having dot as decimal separator but the dates DD/MM/YY.

I don't think this is a bug.
Comment 4 QA Administrators 2021-08-06 03:46:00 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-09-06 03:49:50 UTC
Dear Carlos Brys,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp