Bug 102261 - FILEOPEN PPTX Badly aligned text, using spaces as indentation
Summary: FILEOPEN PPTX Badly aligned text, using spaces as indentation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Paragraph
  Show dependency treegraph
 
Reported: 2016-09-18 19:39 UTC by Oliver Sander
Modified: 2022-08-05 23:20 UTC (History)
6 users (show)

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


Attachments
The pptx presentation (232.56 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-09-18 19:39 UTC, Oliver Sander
Details
The presentation as rendered by MS Office (117.32 KB, application/pdf)
2016-09-18 19:40 UTC, Oliver Sander
Details
The presentation as rendered by LO 5.1.4.2 (7.11 MB, application/pdf)
2016-09-18 19:43 UTC, Oliver Sander
Details
Minimal reproducer document (33.73 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-05-31 15:15 UTC, NISZ LibreOffice Team
Details
The minimal reproducer in PP and Impress (118.62 KB, image/png)
2021-05-31 15:16 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Sander 2016-09-18 19:39:29 UTC
Created attachment 127409 [details]
The pptx presentation

I have a presentation file in pptx format.  On several pages, LO aligns the text differently than MSO does.  I file them all as a single bug; please let me know if they are separate bugs, and I will file separate bug reports in that case.
Comment 1 Oliver Sander 2016-09-18 19:40:14 UTC
Created attachment 127410 [details]
The presentation as rendered by MS Office
Comment 2 Oliver Sander 2016-09-18 19:43:23 UTC
Created attachment 127411 [details]
The presentation as rendered by LO 5.1.4.2

Please note the word 'Ausrichtung' (i.e., 'alignment') scattered across this presentation.  I marks the spots where the LO alignment differs from the MS one.
Comment 3 Buovjaga 2016-09-19 09:10:45 UTC
The indentation has been done using spaces. This way of doing indentation is for sure very fragile.
Confirming in any case.

Win 7 Pro 64-bit Version: 5.3.0.0.alpha0+
Build ID: ba269f7294e2416659011cbb498a2c6b5f9d5199
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-09-12_02:36:16
Locale: fi-FI (fi_FI); Calc: CL

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 4 Oliver Sander 2016-10-21 18:30:54 UTC
Reproduced in 

LibreOfficeDev 5.3.0.0.alpha1 f4ca1573fcf445164c068c1046ab5d084e1b005f
Debian Testing / Mate Desktop
Comment 5 Xisco Faulí 2018-01-09 14:46:12 UTC
Still reproducible in

Version: 6.1.0.0.alpha0+
Build ID: 0ef0740298b45379bbf8d00d50beffee7a2f812a
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded
Comment 6 QA Administrators 2019-01-10 03:52:57 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2019-01-10 20:56:00 UTC
still repro in

Version: 6.3.0.0.alpha0+
Build ID: 7809ec859d5bdb5dedb259a362a15324088b334c
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 8 Buovjaga 2019-09-29 11:28:30 UTC
Still confirmed. Already in 3.3.0

Version: 6.4.0.0.alpha0+ (x64)
Build ID: e1b51d4588b4b39592bb94dd5bb90de5e04d061e
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-23_09:16:11
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 9 NISZ LibreOffice Team 2021-05-31 15:15:45 UTC
Created attachment 172500 [details]
Minimal reproducer document

Looks like there is a paragraph level setting in PP to set the default tab size (defTabSz in XML) for which there is no equivalent setting in Impress. That setting is used in this file, for example on slide 10 it's 0.89 cm.

This simple file demonstrates that option by setting it to 2 cm.

Setting the Impress global tab size to 2 cm (default is 0.5 inch in Impress, 1 inch in PP) fixes the display of this paragraph.

Seems like we need to invent a new tabulator setting.
Comment 10 NISZ LibreOffice Team 2021-05-31 15:16:23 UTC
Created attachment 172501 [details]
The minimal reproducer in PP and Impress

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 187136265d26c014e842550c2f1fc5997736e4fa
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 11 Regina Henschel 2021-05-31 16:07:29 UTC
An attribute in ODF for this is 20.362 style:tab-stop-distance, but currently only in a default style, not in arbitrary paragraph styles.
https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part3-schema/OpenDocument-v1.3-cs02-part3-schema.html#__RefHeading__1420168_253892949

I can imagine to allow this attribute in any paragraph style in the inheritance hierarchy. This means using loext:tab-stop-distance in the meantime and writing a proposal to ODF TC.