Bug 103476 - FORMATTING: bad paragraph and line spacing in PPTX "Do not Autofit" textbox (related to autofit text)
Summary: FORMATTING: bad paragraph and line spacing in PPTX "Do not Autofit" textbox (...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, filter:pptx, regression
Depends on:
Blocks: Textbox PPTX-Textbox
  Show dependency treegraph
Reported: 2016-10-24 18:28 UTC by internationils
Modified: 2021-01-25 10:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:

PPTX2010 file (104.13 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-10-24 18:28 UTC, internationils
PPTX2010 good position (23.00 KB, image/png)
2016-10-24 18:29 UTC, internationils
LO5 bad position or linespacing (15.24 KB, image/png)
2016-10-24 18:29 UTC, internationils

Note You need to log in before you can comment on or make changes to this bug.
Description internationils 2016-10-24 18:28:45 UTC
Created attachment 128221 [details]
PPTX2010 file

The GOAL Textbox is either positioned differently or the linespacing is not the same as with PPTX2010
Comment 1 internationils 2016-10-24 18:29:15 UTC
Created attachment 128223 [details]
PPTX2010 good position
Comment 2 internationils 2016-10-24 18:29:42 UTC
Created attachment 128224 [details]
LO5 bad position or linespacing
Comment 3 Yousuf Philips (jay) (retired) 2016-10-24 18:56:01 UTC

Powerpoint has the line spacing as exactly 20pt, with 0pt paragraph spacing before and after. LO has line spacing as atleast 20pt, wiht 0pt paragraph spacing before and 6pt paragraph spacing after.

Regression as its fine in 3.6.7.

Build ID: 928776b734c6aa188151bbce048d5bef4486dce7
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-23_00:39:08
Locale: en-US (en_US.UTF-8); Calc: group
Comment 4 Buovjaga 2018-07-01 16:49:29 UTC
Bibisected on Linux with 43all to range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=d9412fb4755377b8358a46a249cfe29a22ea9451...337ef5808dd8e55c06d00b222e69c5ba287acab5

I noticed this: https://cgit.freedesktop.org/libreoffice/core/commit/?id=5b75c17f207d2156e17430ef3e31b5784804b9f7

n#778859: Non autofit text are imported as autofit.
Push default values if <bodyPr> exists.

Indeed, the "good result" has Autofit text checked, if you right-click the text box while the "bad result" does not. Checking Autofit text fixes the issue in a build with the bad result.