Bug 89685 (tsv+tab) - Missing Support of Files with the Extension “tsv”
Summary: Missing Support of Files with the Extension “tsv”
Status: NEW
Alias: tsv+tab
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: Other All
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2015-02-26 14:32 UTC by Harald Koester
Modified: 2024-10-19 14:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Small .tsv test file. (688 bytes, text/csv)
2015-03-05 21:40 UTC, Harald Koester
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koester 2015-02-26 14:32:54 UTC
In some older bug reports (bug 38133, bug 40233, bug 61557, bug 68903, bug 87836) files with extension 'tsv' (tab-separated values, see: http://en.wikipedia.org/wiki/Tab-separated_values) are mentioned. It seemed to me that there is a special treatment in LibreOffice similar to csv files. If this is the case, files with these extensions should be treated completely equal to csv files. 

This is currently not the case 
(1) in the file filters of the file open dialogue, files with the extension tsv are not mentioned there;
(2) during saving, it is not possible to save a file the extension tsv.

Hint: This Bug has already been described in Bug 89312 together with other problems.
Comment 1 raal 2015-02-26 15:27:40 UTC Comment hidden (no-value)
Comment 2 V Stuart Foote 2015-02-26 15:37:23 UTC
(In reply to raal from comment #1)
> Hello,
> for me it looks like .tsv is subset of .csv
> 
> Could you attach testing .tsv file?

See parent bug 89312
Comment 3 Harald Koester 2015-03-05 21:40:40 UTC
Created attachment 113921 [details]
Small .tsv test file.
Comment 4 V Stuart Foote 2016-08-26 15:18:31 UTC
Yes a couple of additional delimited text formats need to be added to the "Spreadsheets" group filter.

The group filter list contains .csv and .xls, but should include addition of:
*.tsv 
*.tab 
*.csv.gz

=-ref-=
http://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/filtergrouping.cxx
Comment 5 Justin L 2024-10-19 13:09:19 UTC
Importing of the TSV file format seems to work fine. (I don't know anything about the other format types mentioned in this bug report).

I don't see any value in exporting anything other than the most common CSV format. The CSV could be converted into the other text formats by a dedicated converter tool I'm sure. So in my opinion, this bug report can be closed.
Comment 6 V Stuart Foote 2024-10-19 14:04:00 UTC
(In reply to Justin L from comment #5)
> Importing of the TSV file format seems to work fine. (I don't know anything
> about the other format types mentioned in this bug report).
> 
> I don't see any value in exporting anything other than the most common CSV
> format. The CSV could be converted into the other text formats by a
> dedicated converter tool I'm sure. So in my opinion, this bug report can be
> closed.

Think issue remains that, on Windows for example, there is no LibreOffice "association" of the .tsv in the 'Spreadsheet' "globalfilter" class. The .csv is there and responds to os/DE opening, but .tsv|.tab|.csv.gz etc. are not.

Also, since LibreOffice doesn't record itself as a program handling these other delimeted formats--so user must use os/DE to select "open file with", and find the launcher for the desired LO module.

And if call is made from an open Writer session, it will open into Writer (bug 89683 so => WFM). 

So, IIRC what is still missing are the "localfilter" classes for opening these formats into specific LO modules.  E.g. to list the available filters in os/DE and pick specific filter from the list.