Bug 56350 - FILESAVE FORMATTING graph legend jumps to top-left corner after save
Summary: FILESAVE FORMATTING graph legend jumps to top-left corner after save
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart-Legends
  Show dependency treegraph
 
Reported: 2012-10-24 11:52 UTC by Milan Bouchet-Valat
Modified: 2019-11-03 21:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case (20.89 KB, application/vnd.oasis.opendocument.presentation)
2012-10-24 11:52 UTC, Milan Bouchet-Valat
Details
LO 3.5.4 just after opening (27.32 KB, image/png)
2014-07-16 07:52 UTC, Alexandr
Details
LO 4.3.0 just after opening (25.07 KB, image/png)
2014-07-16 07:53 UTC, Alexandr
Details
Simple Calc file with chart and re-positioned legend (14.03 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2015-08-02 20:44 UTC, Libomark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Bouchet-Valat 2012-10-24 11:52:24 UTC
Created attachment 68996 [details]
Test case

1. Open attached test file.
2. See how the legend is at a "correct" place in the graph.
3. Double click on the graph to edit it, and see how the legend jumps to the top-left corner.
4. Hit the "Reset layout" button, see the legend go to the correct place.
5. Save the file, close the file.
6. Restart from 1. and see how the problem reappears.


Sometimes, the legend changes position when editing the graph without even saving and reopening the file, which is terribly annoying. I've not been able to determine exactly when, but it's related to saving the file (without closing) and/or exporting to PDF (with PDF 1a option enabled).

I could reproduce this with LO 3.5.7.2  and 3.6.1.2.
Comment 1 Alexandr 2014-07-16 07:52:34 UTC
Created attachment 102901 [details]
LO 3.5.4 just after opening

When I open the file in LibreOffice 3.5.4 from Debian Wheezy the legend is in right side of the chart. When I open it in LibreOffice 4.2.5 and 4.3.0.2 the legend is in top left corner without any manipulations.
Comment 2 Alexandr 2014-07-16 07:53:13 UTC
Created attachment 102902 [details]
LO 4.3.0 just after opening
Comment 3 Libomark 2015-08-02 20:40:05 UTC
I am using 4.4.2.2, and I find that chart legends all revert to top left, as if the coordinates had not been saved or read in.  This happens with charts in Calc when the position or size of the legend has been altered from a default (I often do this to maximise chart space, with the legend repositioned to occupy either white space or some other solid part of the chart with no data detail to obscure).
Comment 4 Libomark 2015-08-02 20:44:00 UTC
Created attachment 117608 [details]
Simple Calc file with chart and re-positioned legend
Comment 5 Libomark 2015-08-04 01:44:47 UTC
Even simply editing the legend e.g. to provide a colour fill will cause its location to jump to the left of the chart if it was previously moved into position over the chart body.
Comment 6 QA Administrators 2016-09-20 10:20:53 UTC Comment hidden (obsolete)
Comment 7 Milan Bouchet-Valat 2016-09-20 12:54:59 UTC
In 5.2.0.4 the legend appears in the top-left immediately after opening. But after changing its position (via legend propoerties->Position now), it's respected after save/reload. So maybe that's been fixed, maybe not (should the testcase document be opened correctly?).
Comment 8 QA Administrators 2018-09-18 02:50:10 UTC Comment hidden (obsolete)
Comment 9 Libomark 2019-11-03 21:47:32 UTC
Chart legend properties now appear to be saved correctly using 6.3.2.2