https://bugs.documentfoundation.org/show_bug.cgi?id=89683
--- Comment #41 from V Stuart Foote <[email protected]> --- (In reply to Peter from comment #40) > > What I don't understand is: why is the considered a good UI? Yes, as you opined in dupe bug 173334 "Opening a recent CSV file should open as a spreadsheet file, not as a text file."; and reason are as discussed in the BZ thread above. Delimited text files, are still just text files, and since the Writer module is not a text-editor it would not normally the preferred module to open a delimited text-file. Except in your OP, you'd had the Writer module open with focus when selecting the delimited text-file! The WRITER_DOCSERVICE has control in that condition Suggestion is made for a UI switch for user to bypass behavior of the WRITER_DOCSERVICE when active. Otherwise, LibreOffice has no sense of the content or format of any text file--all are external formats (lacking XML header or XML Schema/Document Type Definition (DTD)). So as noted, LibreOffice will use either file extension for the delimited-file, or preferentially the DOCSERVER (Calc or Writer) with current system focus, to open the text file (so with or without the 'Text Import...' dialog). Remember LibreOffice sees the delimited text-file as just a text file. And a completely unknown format text-file will fall through and be handled in the Writer module (e.g. remove the file extension from an actual comma separated file.) Its import is treated as just text. Delimited text-files are 'external' formats, just like OOXML, or a graphics file. They require import filters to bring into a LibreOffice module, and they require export filters to be written back out as delimited text-files. Which is why it is strongly recommended to work with 'native' ODF Spreadsheet (.ODS, .FODS) or ODF Textdocunent (.ODT, .FODT)--and export to external formats when needed. The filters keep things correctly then. Enhancement to UI allowing User override of the active WRITER_DOCSERVICE was deemed unneeded and set => WF. -- You are receiving this mail because: You are the assignee for the bug.
