Description: Saving an CSV containing formula's erases formula's Steps to Reproduce: 1. Open the attached file 2. Column C F & I contain formula's 3. Save & Reload Actual Results: Formula's gone Expected Results: Should still be around Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.0.alpha0+ (x64) Build ID: 191288d6a7fb52b31038a21c4e71ee57ffa3bacd CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Created attachment 161726 [details] Example file
Also in 3.5.7.2
I confirm the data loss, but Telesto, where did you get that CSV file from? MS Office? Version: 7.1.0.0.alpha0+ Build ID: 2047a5978ac8188e61da9cd3b2f40d86df5570bb CPU threads: 4; OS: Mac OS X 10.15.5; UI render: default; VCL: osx Locale: en-US (ru_RU.UTF-8); UI: en-US Calc: threaded
You have to use Save as and in the dialog "Edit filter settings" and consult the options related to formulas there.
(In reply to Buovjaga from comment #4) > You have to use Save as and in the dialog "Edit filter settings" and consult > the options related to formulas there. So, is it NOTABUG?
I don't know, how it could be implemented (to somehow save temporary state about a certain opened CSV file containing formulas). I would say it is dangerous, if we go changing the default behaviour. I would assume people want to save values by default, when exporting to CSV.
(In reply to Buovjaga from comment #6) > I don't know, how it could be implemented (to somehow save temporary state > about a certain opened CSV file containing formulas). I would say it is > dangerous, if we go changing the default behaviour. I would assume people > want to save values by default, when exporting to CSV. The default shouldn't be changed.. ideally.. imported with formula's saved with formula's.. Or the save button should be disabled.. It's awfully weird to open CSV with formula's (created by LibreOffice BTW), and press save -> still seeing formula's and loosing them after -> File -> Reload The state is not desired either, IMHO
Dear Telesto, 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
CSV is ideally a data-only datatype-agnostic file format. Having formulas in it is an extension, and is considered a security issue (see bug 114878). Having unsupported data and formatting lost on save to external format is expected and normal; not having this data lost in the current UI is also OK (the same would happen in Writer, when you save tables and headers and footnotes and bolds to a TXT file, and not see the loss until you reload). LibreOffice does not reload automatically on save - it also helps when one changes their mind, and decides to save to native format (or undo, or whatever) - reloading would make all that impossible. So no, there's no bug, nothing to change, and the defaults are fine. Change filter settings on save explicitly to enable saving formulas.
Fwiw, since LO 7.3 there is a CSV import option whether to evaluate formulas as formulas or import them as text. See https://wiki.documentfoundation.org/ReleaseNotes/7.3#General_improvements_2