Bug 113198 - FILEOPEN: PPTX: Incorrect alignment of text on images
Summary: FILEOPEN: PPTX: Incorrect alignment of text on images
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:pptx, regression
Depends on:
Blocks: PPTX
  Show dependency treegraph
 
Reported: 2017-10-17 16:40 UTC by Xisco Faulí
Modified: 2018-08-28 12:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document (47.10 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-10-17 16:40 UTC, Xisco Faulí
Details
comparison MSO 2010 and LibreOffice 6.0 (92.23 KB, image/png)
2017-10-17 16:42 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2017-10-17 16:40:32 UTC
Created attachment 137059 [details]
sample document

Steps to reproduce:
1. Open attached document

Observed behaviour: text should have center alignment. it has left alignment instead.

Reproduced in

Version: 6.0.0.0.alpha0+
Build ID: 616f21db9e50a77b0c02dfb123f871a742f46216
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2017-10-17 16:42:55 UTC
Created attachment 137060 [details]
comparison MSO 2010 and LibreOffice 6.0
Comment 2 Xisco Faulí 2017-10-17 16:44:27 UTC
Regression introduced by:

author	Tamás Zolnai <tamas.zolnai@collabora.com>	2016-12-17 15:11:06 (GMT)
committer	Tamás Zolnai <tamas.zolnai@collabora.com>	2016-12-17 16:39:55 (GMT)
commit	5694b4970e3af096130e172ac6968b10ed587a6f (patch)
tree	4e1285389cbd88c318beda765bf7becc0795a0cf
parent	2beb90a041bc99644330977f13bfaa10a05b9a39 (diff)
tdf#104722: Wrong text alignment when text box is smaller than the text inside
The default TextHorizontalAlignment is block. Setting
paragraph alignment (on UI) works when this text
alignment property is set to block (otherwise has no effect).
In general this works on this way, but the existing
algorithm did not work in those cases when the
text was bigger than the container shape.

Bisected with bibisect-linux-64-5.4

Adding Cc: to Tamás Zolnai