Bug 136751 - FILEOPEN: Incorrect label position
Summary: FILEOPEN: Incorrect label position
Status: NEW
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: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2020-09-14 14:25 UTC by Xisco Faulí
Modified: 2024-10-28 08:50 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparison MSO 2010 and LibreOffice 7.1 master (220.82 KB, image/png)
2020-09-14 14:25 UTC, Xisco Faulí
Details
The example file in current 7.1 alpha (104.68 KB, image/png)
2020-10-26 14:37 UTC, NISZ LibreOffice Team
Details
Screenshot with LO 7.5 as of 2022-10-28 (222.02 KB, image/png)
2022-10-28 07:21 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-09-14 14:25:00 UTC
Created attachment 165495 [details]
Comparison MSO 2010 and LibreOffice 7.1 master

Steps to reproduce:
1. Open attachment 62000 [details] from bug 50265
2. Go to slide 2

-> Label 'активные 58' is placed outside the chart and it's hard to read. it should be above the dark blue section. See screenshot

Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 63317c6b5f3330dcbf977f37a9d01eafbc7451c2
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2020-09-14 14:26:56 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=bcda268cde1f8408c2066ce985acedfce3e3bc2e

author	Tünde Tóth <toth.tunde@nisz.hu>	2020-08-03 09:12:14 +0200
committer	László Németh <nemeth@numbertext.org>	2020-08-07 11:54:24 +0200
commit bcda268cde1f8408c2066ce985acedfce3e3bc2e (patch)
tree 4ad77a796883cca715409171c7867eedf8f3af66
parent e520a4f988bf0ff81e75e37588182af92fed7631 (diff)
tdf#134977 Chart OOXML: fix import of custom data label

Bisected with: bibisect-linux64-7.1

Adding Cc: to Tünde Tóth
Comment 2 NISZ LibreOffice Team 2020-09-17 13:55:25 UTC
Not really a regression: in earlier versions the font size was smaller than in PP.
Now it's correct and the data labels frame is also larger. 
The larger frame is now considered too large for the pie slice so it's placed outside the pie.

Perhaps the definition of "too large to fit inside the pie" could be refined a bit. I have seen this happening in other charts like in:  
https://bugs.documentfoundation.org/show_bug.cgi?id=131188#c6
Comment 3 NISZ LibreOffice Team 2020-10-26 14:37:24 UTC
Created attachment 166738 [details]
The example file in current 7.1 alpha

Looks better in: 

Version: 7.1.0.0.alpha1+ (x64)
Build ID: b61bf7c7cfcf97a5ade6d130873af146670bc2ee
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

At least for the label with value 58.

The other labels got somewhat closer to the center of the pie and the last letters of the label with value 133 are in the dark blue slice, making them disappear.

Let's keep this open for this problem.
Comment 4 QA Administrators 2022-10-28 03:32:41 UTC Comment hidden (obsolete)
Comment 5 Gerald Pfeifer 2022-10-28 07:21:14 UTC
Created attachment 183309 [details]
Screenshot with LO 7.5 as of 2022-10-28

(In reply to NISZ LibreOffice Team from comment #3)
> the last letters of the label with value 133 are in the dark
> blue slice, making them disappear.

This aspect is still there, as already shown in attachment #166738 [details].

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 876d9d6d333cafc0649abebc757f397faf86fc4d
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

(Adding a current screenshot, explicitly highlighting the issue.)
Comment 6 QA Administrators 2024-10-28 03:12:44 UTC Comment hidden (obsolete)
Comment 7 Gerald Pfeifer 2024-10-28 08:50:24 UTC
Comment #5 still applies.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2d65d52bd208acde60e77ec49b995958985babe7
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US