Bug 154054 - Libreoffice Calc - Graph save error
Summary: Libreoffice Calc - Graph save error
Status: RESOLVED DUPLICATE of bug 153672
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: regression-scaled-glyph-positions
  Show dependency treegraph
Reported: 2023-03-08 02:13 UTC by Warwick Gummerson
Modified: 2023-11-22 11:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

The resultant erroneous image (17.82 KB, image/png)
2023-03-08 02:15 UTC, Warwick Gummerson

Note You need to log in before you can comment on or make changes to this bug.
Description Warwick Gummerson 2023-03-08 02:13:07 UTC
The option to "Export as Image", which I use every week now puts the descriptive legend in the middle of the graph rather than along the right hand border.

Steps to Reproduce:
1.Create a Graph from a table
2.Right click on the graph and select, "Export as Image"
3.Choose where to save the exported image

Actual Results:
The image is OK except that the legend is no longer at the right border but about 1/3 from the left border, spoiling the actual graph

Expected Results:
An image with the legend along the right hand border

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Version: (X86_64)/ LibreOfficeOffice Community
Environment:    CPU Threads: 8; OS: Linux 5.4
User Interface: UI render: default, VCL: gtk3
Locale:         en-Au (en_All.UTF-8);,UI: en-US
Misc:           Ubuntu package version
                Calc: threaded
Comment 1 Warwick Gummerson 2023-03-08 02:15:44 UTC
Created attachment 185828 [details]
The resultant erroneous image
Comment 2 Lesline 2023-03-14 04:49:06 UTC
Hello Warwick.

Thank you for reporting the bug.  I can confirm that I was able to reproduce the bug.  The misalignment of the legend was present as you reported, but it was to the right rather than the left.  I tested two different chart types to see if the error was chart specific. The results were as follows:

Column Chart - the error was as reported, with the legend info spoiling the graph
Pie Chart - the legend misalignment was present but it did not spoil the chart

The versions tested are as follows:

Version: (X86_64) / LibreOffice Community
Build ID: a834bbad8295cba0ca88a91a524aad48640271ec
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Kind Regards
Comment 3 Stéphane Guillou (stragu) 2023-03-25 23:50:43 UTC
I am confident this is fixed by commit ba42b8b95b2166f9bd578cd90c54e9826a755a6e which is a fix for bug 153672.
You can test the fix by installing 7.5.2 which will be released in a few days, or by testing a recent master build: https://dev-builds.libreoffice.org/daily/master/current.html

*** This bug has been marked as a duplicate of bug 153672 ***