Bug 150789 - FILEOPEN PPTX: text in SmartArt vertically off (too low)
Summary: FILEOPEN PPTX: text in SmartArt vertically off (too low)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: OOXML-SmartArt
  Show dependency treegraph
 
Reported: 2022-09-05 08:41 UTC by Gerald Pfeifer
Modified: 2024-09-19 13:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample slides 1 and 2 (PPTX) (70.16 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2022-09-05 08:41 UTC, Gerald Pfeifer
Details
Visual comparison Powerpoint (left) vs Impress (right) of slide 1 (132.35 KB, image/png)
2022-09-05 08:42 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2022-09-05 08:41:34 UTC
Created attachment 182218 [details]
Sample slides 1 and 2 (PPTX)

Some text elements in the SmartArt are vertically too low (compared to
Office 365).

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

back to

Version: 6.4.8.0.0+
Build ID: 99b065ec31d032fc08ab14f66430dac4fef904a5
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-6-4, Time: 2020-10-08_08:57:08
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Comment 1 Gerald Pfeifer 2022-09-05 08:42:35 UTC
Created attachment 182219 [details]
Visual comparison Powerpoint (left) vs Impress (right) of slide 1
Comment 2 Xisco Faulí 2022-09-05 13:56:51 UTC
Reproduced in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: ee003ca99f94c9a5517ebba67ed02abb2a60dae8
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded


and

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); UI-Language: en-US
Calc: threaded

and

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); Calc: group threaded
Comment 3 Gerald Pfeifer 2024-03-30 19:27:12 UTC
An observation: When I "Enter Group" of the diagram the two text boxes
in question have vertical alignment of "center". If I change that to
"top" for both, it looks like in PowerPoint.

Maybe just an import problem? Using (wrong) default?
Comment 4 Gabor Kelemen (allotropia) 2024-09-19 13:47:41 UTC
Looks like this is a SmartArt of the "Segmented Process" type. Here there are three shapes: one blue rectangle with callout arrow and two grey rectangles - these form a group. 
PP seems to take the height of the grey rectangles into account when calculating the text position in the blue rectangle with callout arrow. This can be observed by deleting the two grey rectangles - the text of the remaining blue rectangle moves down.

Another interesting detail is the bottom group where the blue rectangle does not have callout arrow - that ones text looks well-placed, but only since this 4.3 commit:

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

author	Zolnai Tamás <tamas.zolnai@collabora.com>	2014-05-30 13:45:36 +0200
committer	Zolnai Tamás <zolnaitamas2000@gmail.com>	2014-05-30 08:03:19 -0500
commit 5d3211ce2a84c31334bea370ddae654aee6b0380 (patch)

bnc#870237: wrong text position in grouped list
In grouped list text area does not cover the whole
shape but just a part of it at the top.
To get the same visual effect modify text distance
attribute.

Unfortunately this seems like a workaround for a missing feature in the SmartArt handling :(.