Description: When creating a line chart in LibreCalc I've added both a Linear and Mean lines. When saved and then re-opened the Mean line is gone. Steps to Reproduce: 1. Open LibreOffice 2. Open LibreCalc 3. Enter in column 1A the word "Date" 4. Enter in column 1B the word "Value" 5. Enter in column 2A through 11A the following values, 01/01/21 through 01/10/21 - use drag from 1A if you wish for auto date create per cell. 6. Enter in column 2B through 11B the following values: 1, 2, 3, 4, 5, 3, 4, 5, 3, 1 7. Select (highlight) 1A through 11B 8. Select Chart from Insert menu 9. Right click on chart, select Edit 10. Click on any data column to select all data bars 11. Right click and select Insert Mean Value Line 12. Right click and select Insert Trend Line 13. Click OK for Trend to make Trend properties box close 14. Select File, Save As - save as .xlsx (note: I also saved as .OSD and when I tried to reload, LibreOffice kept crashing on the intro loading screen. I had to kill it using task manager. When re-loaded I had to open in safe mode, close and then open in normal mode. Then it brought up the .osd file and all appeared ok. I normally use .xlsx to maintain compatibility with MS Office users.) 15. Close LibreOffice 16. Open LibreOffice and open the file just saved or use the recent documents menu to open the file. The issue is able to be duplicated running in Safe Mode. It doesn't appear to be a corrupt profile issue. Actual Results: The Linear line remains in the chart. The Mean line disappears. Expected Results: For the Mean line to not disappear. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: [Information automatically included from LibreOffice] Locale: en-US Module: SpreadsheetDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: no Version: 7.1.0.3 (x64) / LibreOffice Community Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL
I have attempted this again saving as both .osd and .xlsx. The .osd worked this time and keeps both the Mean and Trend lines. I'm not sure why this worked this time for the .osd, but the save as .xlsx still removed the Mean line.
Please attach an example document (ODS). Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the document.
*** Bug 141412 has been marked as a duplicate of this bug. ***
Created attachment 180725 [details] Test ODS Save and reopen OK in daily 7.4+. NOK if saved as XLS or XLSX. On reopen in MSO in addition to not showing mean, there's a repair before for XLSX only.
Repro at least from 5.2. Previously both lines were lost, tested with LO 4.2.