Bug 103928 - FILESAVE PPTX Shape text box alignment anchored differently in Powerpoint
Summary: FILESAVE PPTX Shape text box alignment anchored differently in Powerpoint
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: filter:pptx
Depends on:
Blocks: PPTX
  Show dependency treegraph
Reported: 2016-11-14 17:00 UTC by Paul
Modified: 2019-10-22 11:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Alignment as displayed by libreoffice (PNG) (2.24 KB, image/png)
2016-11-14 17:01 UTC, Paul
Alignment as displayed by MS 2013 PPTX (PNG) (1.05 KB, image/png)
2016-11-14 17:02 UTC, Paul
example presentation as exported to PPTX with two lines (34.85 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-11-14 17:04 UTC, Paul

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2016-11-14 17:00:35 UTC
Save presentation to PPTX, and any objects/drawing objects which, when F2 -> text box has been inserted (or double click on object and type in text), and all text and object parameters are left at default, text displays in the 'middle' of the object. 

When said object is displayed in MS powerpoint, the text anchored to the object is at the extreme left side of object. Re-open the PPTX in libreoffice, and everything displays fine. 

does not help to change:
-text anchor point  (edit style, text, text anchor)
-text paragraph 'alignment' or justification

Steps to Reproduce:
1. LibreOffice -> New -> Presentation
2. Clear the page of all objects. (select all, delete)
3. (drawing toolbar) Lines and arrows -> line/line ends with arrow -> draw horizontally.
4. double click on newly created line/arrow -> add some text.
5. press esc. save as 2013 PPTX file.
6. open with powerpoint.

Actual Results:  
text no longer 'in the middle' of the lines(s). Text on the left (in powerpoint)

Expected Results:
text in the middle of line(s)/object(s). 

Reproducible: Always

User Profile Reset: No

Additional Info:
In MS PPT - the only seemingly useful option which achieves a similar result, which only seems to exist in MS PPT 2007 is to convert the selected object, and it seems to result in an additional anchor point in the middle where the text jumps to. Not a viable solution. 

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Comment 1 Paul 2016-11-14 17:01:53 UTC
Created attachment 128751 [details]
Alignment as displayed by libreoffice (PNG)
Comment 2 Paul 2016-11-14 17:02:18 UTC
Created attachment 128752 [details]
Alignment as displayed by MS 2013 PPTX (PNG)
Comment 3 Paul 2016-11-14 17:04:11 UTC
Created attachment 128753 [details]
example presentation as exported to PPTX with two lines
Comment 4 Paul 2016-11-14 17:17:58 UTC
This might be MS being completely retarded as usual and their behaviour is PPTx 2013 display is messed up for the 'correct' tags, but it would be nice if display would work. 

I surmise that the XML MS expects in PPTX is not "how MS would do it".
Comment 5 Paul 2016-11-14 17:22:25 UTC
bug remains with LibreOffice
Comment 6 Xisco Faulí 2016-11-14 17:42:23 UTC
Confirmed in 

Build ID: 757a60d01dd152aadab2ba3c8224252481ce8a88
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Issue not reproduced when the document is saved as .ppt
Comment 7 QA Administrators 2018-10-22 02:49:02 UTC Comment hidden (obsolete)
Comment 8 Paul 2018-11-13 18:53:35 UTC
bug remains, tested version

followed original steps to reproduce.
Comment 9 Buovjaga 2019-10-22 11:35:32 UTC
Still repro with LibO 6.4 alpha1 and MSO 2013

Versio: (x86)
Käännöksen ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU-säikeet: 4; Käyttöjärjestelmä: Windows 6.3 Build 9600; Piirtokomponentti: oletus; VCL: win; 
Maa-asetus: fi-FI (fi_FI); Käyttöliittymän kieli: fi-FI
Calc: threaded