Bug 137585 - FILESAVE ODS Pie chart data labels custom positioning is incorrect
Summary: FILESAVE ODS Pie chart data labels custom positioning is incorrect
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Tünde Tóth
URL:
Whiteboard: target:7.1.0
Keywords:
Depends on:
Blocks: Chart-Labels Pie-and-Donut
  Show dependency treegraph
 
Reported: 2020-10-19 08:15 UTC by NISZ LibreOffice Team
Modified: 2024-10-15 21:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file saved as ODS (17.53 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-10-19 08:15 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Calc (202.67 KB, image/png)
2020-10-19 08:16 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-10-19 08:15:55 UTC
Created attachment 166496 [details]
The original file saved as ODS

This is followup to bug #134978
The example file attachment #163311 [details] contains a pie chart has data labels enabled and one of the labels positioned manually outside the drawing area. When saving this file as ODS in Calc the manually positioned label appears too close to the pie.

Steps to reproduce:
1. Open attachment #163311 [details].
2. Save the file as ODS.
3. Compare the original file opened in Calc and the exported file opened in Calc.

Actual results:
The manually positioned label appears too close to the pie.

Expected results:
The position of the data labels shouldn’t change.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 59f86333f3fce091177d1cfb9363aa81686aa497
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2020-10-19 08:16:14 UTC
Created attachment 166497 [details]
Screenshot of the original and exported document side by side in Calc
Comment 2 Commit Notification 2020-10-19 12:20:42 UTC
Tünde Tóth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f1d798151048dde3f48b124ef406416668d1e9c5

tdf#137585 Chart ODF: fix export of DataLabelPlacement::CUSTOM

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 NISZ LibreOffice Team 2020-11-18 14:24:20 UTC
Verified in:

Version: 7.1.0.0.alpha1+ (x64)
Build ID: ccd0e5f445d4a7d0e7aca6c23c02c61bf14510b2
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Thanks for fixing!