[Libreoffice-bugs] [Bug 138556] New: Stock Chart easily corrupts data on saving

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 29 21:18:07 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138556

            Bug ID: 138556
           Summary: Stock Chart easily corrupts data on saving
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: aerkiaga3 at gmail.com

Description:
Creating a Stock Chart with simple data, saving and reopening is sufficient to
corrupt the data. The styles applied to the chart elements were also altered.

Steps to Reproduce:
1. Open Writer or Impress (didn't test on Calc)
2. Click 'Insert' -> 'Chart...'
3. Select the chart, right click and open 'Chart Type...' dialog.
4. Select 'Stock Chart 1' as type.
5. Now open the 'Data Table' dialog.
6. There's a single data series with three components: 'Low Values', 'High
Values' and 'Close Values'. Click on the label for the data series and then on
'Delete Series'.
7. Click 'Insert Series' twice to insert two data series. These have the same
components, plus a fourth 'Open Values'.
8. Optionally, click on 'Delete Row' three times to simplify the next step.
9. Enter data on all cells except the 'Open Values'. Something like 1, 3, 2; 4,
6, 5 will do.
10. Close the dialog, deselect the chart, save the file and close LibreOffice.
11. Reopen the same file.

Actual Results:
The chart seems clearly broken, with a different style (some data series are
now black), names of data series removed, data corrupted and a new anonymous
data series. Opening the data table for this chart reveals that those 'Open
Values' are no longer there; while the one for the first data series has
apparently simply vanished, the second one has pushed into the 'Low Values' of
the data series, shifting all cells to the right, so the last cell overflows
into a new data series.

Expected Results:
The chart should contain the same data and have the same styles applied as when
it was originally saved.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
In a more complex example, other effects could be seen. Some series were
renamed while others weren't, line width was dropped, even some data series
were reordered.

Version: 7.0.3.1
Build ID: 00(Build:1)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.3-0ubuntu0.20.04.1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201129/305cc2f3/attachment.htm>


More information about the Libreoffice-bugs mailing list