[Libreoffice-ux-advise] [Bug 89683] delimited text files ('csv', 'tsv', etc.) are opened as text documents if Writer is the active window

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 29 22:50:55 UTC 2016


https://bugs.documentfoundation.org/show_bug.cgi?id=89683

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|preBibisect, regression     |
                URL|                            |http://nabble.documentfound
                   |                            |ation.org/rtf-filter-detect
                   |                            |ion-order-tc4116952.html
                 CC|                            |dennisfrancis.in at gmail.com,
                   |                            |kohei.yoshida at collabora.com
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=65
                   |                            |017

--- Comment #17 from V Stuart Foote <vstuart.foote at utsa.edu> ---
These fall through generic_Text filter behaviors are as designed [1], and
current order of CALC_DOCSERVICE -> WRITER_DOCSERVICE -> file "extension", or
fall through to Writer is intentional [2].  

As in the see also bug 65017 for RTF handling it is a feature introduced at
3.6, removing "regression".

Again, if you want a CSV (of any flavor delimiter (comma, tab, space, etc.) to
open into Calc--do not have a Writer session open with canvas focus! Writer can
be open, but not have focus--and the Text Import dialog for import to Calc will
launch.

**And if you want to open CSV into Writer--open it from a Writer session**

This is the way the generic_Text filter was implemented. Again see no need to
change our handling--no need to change filter order--and there is nothing
incorrect as implemented!

The otherwise valid enhancement of adding missing filter(s) to the Writer
module and Calc module type lists (e.g. bug 89685) is not bound to generic_Text
filter handling of the CSVs.

If UX needs to drive this a different direction (the Writer_DOCSERVICE filter
could be removed)--please just be aware that what we have was intentional and
well reasoned and works. 

=-refs-=

[1] Kohei's initial PlainTextFilterDetect for CSV & TXT by DOC_SERVICE first
and then by extension, subsequently expanded to more formats... 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=8b8e24544793f4ec6f61edb7ce8ac10bf6bb0981

[2] Current support for open into Calc for file extensions "csv", "tsv", "tab",
"xls" and ".csv.gz" file extensions when Writer service is not active.
http://opengrok.libreoffice.org/xref/core/filter/source/textfilterdetect/filterdetect.cxx?a=true#181

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list