Bug 139764 - Open a CSV Comma Separated Value file and Calc defaults to TAB
Summary: Open a CSV Comma Separated Value file and Calc defaults to TAB
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-19 13:25 UTC by Jonny Grant
Modified: 2021-02-02 10:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonny Grant 2021-01-19 13:25:11 UTC
Lately I have noticed that opening a CSV file (Comma Separated Value) file and Calc defaults to TAB. Can it default to searching for Comma.
Comment 1 [REDACTED] 2021-01-19 14:01:46 UTC
(In reply to Jonny Grant from comment #0)
> Lately I have noticed that opening a CSV file (Comma Separated Value) file
> and Calc defaults to TAB. Can it default to searching for Comma.

The import filter settings are stored and reinitialized from the settings you made during last use and the default is [x] Tab, [x] Comma, [x] Semicolon being set (when using a fresh user profile).
Comment 2 Jonny Grant 2021-01-19 14:05:44 UTC
(In reply to Uwe Auer from comment #1)
> (In reply to Jonny Grant from comment #0)
> > Lately I have noticed that opening a CSV file (Comma Separated Value) file
> > and Calc defaults to TAB. Can it default to searching for Comma.
> 
> The import filter settings are stored and reinitialized from the settings
> you made during last use and the default is [x] Tab, [x] Comma, [x]
> Semicolon being set (when using a fresh user profile).


Hello Uwe

Feels sensible to keep "Comma" ticked, as it is a Comma Separated Value file?

I also opened a TSV (Tab Separated Values) file, I assume it is that that changed the default. Probably it should not impact CSV loading.
Comment 3 Eike Rathke 2021-01-19 14:50:57 UTC
Opening a .tsv file automatically sets the field separator to tab, but opening a .csv file preserves the last used separator. On purpose, because the extension .csv is often used for everything comma or semicolon or even tab separated.
Comment 4 Jonny Grant 2021-01-19 18:28:13 UTC
(In reply to Eike Rathke from comment #3)
> Opening a .tsv file automatically sets the field separator to tab, but
> opening a .csv file preserves the last used separator. On purpose, because
> the extension .csv is often used for everything comma or semicolon or even
> tab separated.

I just reproduced it again.

1. Open CSV, observe it is set to Commas.
2. Close CSV.
3. Open TSV
4. Close TSV
5. Open CSV
6. Observe it is set to TAB only
Comment 5 Jonny Grant 2021-02-02 10:25:27 UTC
It's a defect. Because a TSV file changes the CSV settings. the TSV change is retained. a TSV file only contains Tab Separated Values.
My feedback is a waste of time. I'll consider not reporting bugs anymore, they never get fixed in Calc.