Bug 140555 - Mean disappears from charts after save as XLS/X when Linear is added to charts
Summary: Mean disappears from charts after save as XLS/X when Linear is added to charts
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls, filter:xlsx
Depends on:
Blocks: Chart-Trendlines
  Show dependency treegraph
 
Reported: 2021-02-20 13:33 UTC by Todd Crenshaw
Modified: 2024-06-13 03:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test ODS (16.90 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-06-13 12:32 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Crenshaw 2021-02-20 13:33:40 UTC
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
Comment 1 Todd Crenshaw 2021-02-20 13:52:25 UTC
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.
Comment 2 Buovjaga 2022-03-07 08:18:23 UTC
Please attach an example document (ODS).
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 3 Timur 2022-06-13 11:50:03 UTC Comment hidden (obsolete)
Comment 4 Timur 2022-06-13 12:32:33 UTC
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.
Comment 5 Timur 2022-06-13 12:42:18 UTC
Repro at least from 5.2. Previously both lines were lost, tested with LO 4.2.
Comment 6 QA Administrators 2024-06-13 03:17:29 UTC
Dear Todd Crenshaw,

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