Bug 134225 - Pie chart data label moves outside of chart area
Summary: Pie chart data label moves outside of chart area
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Balázs Varga
URL:
Whiteboard: target:7.1.0 target:7.0.2
Keywords: bibisected, regression
: 135429 (view as bug list)
Depends on:
Blocks: OOXML-Chart Pie-and-Donut
  Show dependency treegraph
 
Reported: 2020-06-22 08:10 UTC by NISZ LibreOffice Team
Modified: 2024-10-15 21:05 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (13.29 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-06-22 08:10 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-06-22 08:10:58 UTC
Created attachment 162299 [details]
Example file from Word

Attached document contains a user made pie chart with some data labels displayed with “Best fit” placement.
When opened in Writer the label of 2% appears above the whole chart area.

Steps to reproduce:
    1. Open attached file

Actual results:
2% label is above the whole chart object.

Expected results:
2% label is next to its pie slices edge.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 642fc41cd7d080384658e10b30bb9d3b38a2cbd9
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL
(todays nightly)

But not yet in bibisect-7.1 at:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 642fc41cd7d080384658e10b30bb9d3b38a2cbd9
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL
(10 days old)
Comment 1 BogdanB 2020-06-30 15:23:37 UTC
 4d5054abca12d7dfbcd3d5944cf192cff0bb8ad1 is the first bad commit
commit 4d5054abca12d7dfbcd3d5944cf192cff0bb8ad1
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Jun 19 15:13:19 2020 +0200

    source c66cb6d6e4a843dc7c7d06e1c2c0723a6ff85fc5
    
    source c66cb6d6e4a843dc7c7d06e1c2c0723a6ff85fc5

 instdir/program/libchartcorelo.so | Bin 4555928 -> 4555928 bytes
 instdir/program/setuprc           |   2 +-
 instdir/program/versionrc         |   2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
Comment 2 Commit Notification 2020-07-09 08:49:21 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/57fedb272cfcad3436142dbe9eac2870e3c3e3d2

tdf#134225 Chart view: fix moved date label

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 BogdanB 2020-07-20 19:46:29 UTC
It's ok

Verified in
Version: 7.1.0.0.alpha0+
Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 Xisco Faulí 2020-08-04 11:13:29 UTC
*** Bug 135429 has been marked as a duplicate of this bug. ***
Comment 5 Commit Notification 2020-09-15 13:55:37 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

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

tdf#134225 Chart view: fix moved date label

It will be available in 7.0.2.

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.