I programmatically write new lines into a TAB-separated file. I the open the file using libreoffice calc. Sometimes when I try to close the file, it crashes, and offers to recover. If I accept that offer, very often (always??) the file is recovered as a COMMA-separated file. Some of my fields can occasionally contain commas, which is why I chose tabs. How to reproduce: Build a tab-sep file with several columns of several rows of numeric data (the comma-containing fields aren't part of problem). Cause a crash. Allow file recovery To cause the crash, as I've seen it: Choose insert chart choose X/Y scatter cancel the insertion of the chart, maybe by simply closing the window About 5% to 10% of the time (WAG) the save will fail and LibreOffice will crash, while offering to recover my file. I have seen this with three columns: two columns holding data in the 10,000-100,000 range and one holding data around 210 to 280; and as few as a dozen rows. What I expect: The file will be recovered in CSV format with the sep character I used when creating it. How you might do that: Ask what sep character(s) should be used. Or use an rcfile of some kind to specify the default sep character. Or stash the sep character(s) somewhere that an be recovered.
Some background: When opening a CSV, the filter settings used when opening the file are kept in memory, and used when writing back using simple "Save", thus keeping original tabs. Autorecovery save cannot use CSV for storage: it's unknown in advance if user would finally save as CSV (losing all formatting, e.g. column widths), or decide to save into a rich format like ODS; so LO should use the format capable to store all the data, i.e. ODS. But in autorecovery ODS, the SCV filter data is not stored; thus when opening the crashed file later, reading its contents from the ODS, does not restore the filter settings. Possibly it would be worth to store arbitrary filter settings data in the autorecovery ODS in some custom XML (base64-encoded where necessary). That would not break compatibility, and would not require changing ODF standard. Setting to NEW.
As per Mike's comment, this would be OS agnostic
Dear Frank Griswold, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug