Bug 69593 - FILEOPEN: PPTX import with shapes causes text to disappear
Summary: FILEOPEN: PPTX import with shapes causes text to disappear
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Shapes
  Show dependency treegraph
 
Reported: 2013-09-20 05:23 UTC by Keith Curtis
Modified: 2023-08-24 03:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The one slide version (55.89 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2013-09-20 09:04 UTC, Michael Meeks
Details
Original one-slide PPT and LibO-converted PPTX (242.76 KB, application/zip)
2014-01-30 03:00 UTC, tommy27
Details
3D format (32.16 KB, text/plain)
2015-05-13 07:23 UTC, Priyanka Gaikwad
Details
Screenshot (310.78 KB, image/png)
2015-05-13 07:25 UTC, Priyanka Gaikwad
Details
screenshot (310.78 KB, image/png)
2015-05-13 07:34 UTC, Priyanka Gaikwad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Curtis 2013-09-20 05:23:25 UTC
On this website are two files, a PPT and a PPTX:

http://pages.cs.wisc.edu/~driscoll/software/ooorg-pptx/index.html

Direct links
PPT:
http://pages.cs.wisc.edu/~driscoll/software/ooorg-pptx/01.%20introduction.ppt
PPTX:
http://pages.cs.wisc.edu/~driscoll/software/ooorg-pptx/01.introduction.pptx

The PPT imports fine, but the PPTX version is very broken as the text disappears from the shapes.
Comment 1 Michael Meeks 2013-09-20 09:04:23 UTC
Created attachment 86174 [details]
The one slide version
Comment 2 Michael Meeks 2013-09-20 09:06:51 UTC
Attaching a one-slide version; oddly the text in the right hand side box appears to be there almost underneath the shape ;-) - you can see it only when you select. Something rather odd here.
Comment 3 Björn Michaelsen 2014-01-17 09:58:48 UTC Comment hidden (obsolete)
Comment 4 tommy27 2014-01-30 03:00:37 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2014-02-13 23:21:42 UTC Comment hidden (obsolete)
Comment 6 tommy27 2014-05-01 09:18:11 UTC
retested (In reply to comment #4)
> Created attachment 93032 [details]
> Original one-slide PPT and LibO-converted PPTX
> 
> tested under Windows 7 64 bit with LibO 4.1.4.2 

> If I isolate a single PPT slide from the original PPT file in the 1st link
> at Comment 0 and I convert in PPTX I see no loss of text in the shapes...
> only bullets appear in the text outside shapes. see my attached zip.

now bullets are gone and the .pptx created by 4.2.3.3 looks exactly the same as the original .ppt   --> improvement

> If I download the PPTX from the 2nd link I see missing text inside shapes.

that file has indeed .pot extension, however when I load it in 4.2.3.3 the text is still hidden. saving as .pptx doesn't change anything.
saving it as .ppt causes loss of images.

sice this last part of the bug is still reproducible in 4.2.x I move this report to the mab4.2 list since 4.1.x reached end of life
Comment 7 tommy27 2014-11-21 22:37:53 UTC Comment hidden (obsolete)
Comment 8 tommy27 2014-11-21 22:38:40 UTC Comment hidden (obsolete)
Comment 9 Rohit Deshmukh 2015-02-10 06:29:04 UTC
Observation:

1. After import file in LO, Select shape by double tap and move shape from original position to different position.
2. You will able to see text inside shape, which is behind moved shape.
3. Shape gets duplicated while import and behind shape has a text.


Version: 4.5.0.0.alpha0+
Comment 10 Priyanka Gaikwad 2015-05-13 07:23:37 UTC
Created attachment 115541 [details]
3D format
Comment 11 Priyanka Gaikwad 2015-05-13 07:25:48 UTC
Created attachment 115542 [details]
Screenshot
Comment 12 Priyanka Gaikwad 2015-05-13 07:34:24 UTC Comment hidden (me-too)
Comment 13 Priyanka Gaikwad 2015-05-13 07:35:59 UTC
Observations :
1) In attached file '3D format' there is grouped shape with 3D formatting.(check screenshot)
2)When open this .xlsx in impress, The 3D formatting is not imported for grouped shape.
3)
XML of 3D format:
<a:scene3d>
    <a:camera prst="isometricLeftDown">
        <a:rot lat="2100000" lon="1800000" rev="0"/>
    </a:camera>
    <a:lightRig rig="threePt" dir="t">
        <a:rot lat="0" lon="0" rev="1800000"/>
    </a:lightRig>
</a:scene3d>
Comment 14 tommy27 2015-06-16 20:04:49 UTC
(In reply to Keith Curtis from comment #0)
> On this website are two files, a PPT and a PPTX:
> ...
> PPT:
> http://pages.cs.wisc.edu/~driscoll/software/ooorg-pptx/01.%20introduction.ppt
> PPTX:
> http://pages.cs.wisc.edu/~driscoll/software/ooorg-pptx/01.introduction.pptx
> 
> The PPT imports fine, but the PPTX version is very broken as the text
> disappears from the shapes.

issue with the second file is still present in LibO 4.4.3.2 and recent 5.1.0.0 alpha

@Rohit Deshmukh
I see you are assigned to this bug.
any progress about fixing it?
Comment 15 Xisco Faulí 2016-09-14 23:09:03 UTC Comment hidden (obsolete)
Comment 16 tommy27 2017-07-23 08:24:28 UTC
retested with 5.3.4.2 and recent 6.0.0.0 alpha daily build.

PPTX attachment 86174 [details] is still incorrectly loaded by LibO with missing text in the shapes (which is oddly hidden underneath the shape as pointed out by Micheal Meeks in comment 2)

I confirm that there's no issue if the PPTX is created by LibO from the original PPT file (see attachment 93032 [details] )
Comment 17 QA Administrators 2018-10-22 02:48:57 UTC Comment hidden (obsolete)
Comment 18 Keith Curtis 2018-10-23 01:27:28 UTC
Yes, the bug is still present in 6.1.2.1.
Comment 19 TzuChin Hsia 2018-11-29 09:09:26 UTC
Still exists in version 6.3.0.0.alpha0+ (x64)
Comment 20 Buovjaga 2019-09-25 14:41:55 UTC
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 21 NISZ LibreOffice Team 2021-01-12 13:47:20 UTC
These are grouped shapes being imported with incorrect Z-order:
- Right click - Enter Group
- Right click - Arrange - Send to Back : shape with text becomes visible.
Comment 22 Attila Bakos (NISZ) 2021-08-18 12:59:10 UTC Comment hidden (obsolete)
Comment 23 Attila Bakos (NISZ) 2021-08-18 13:15:04 UTC Comment hidden (obsolete)
Comment 24 Attila Bakos (NISZ) 2021-08-18 13:19:02 UTC
(In reply to Attila Bakos (NISZ) from comment #23)
> (In reply to Attila Bakos (NISZ) from comment #22)
> > Steps to reproduce the top secret:
> > 
> > 1) Insert a shape into a new pptx file and type something into it.
> > 2) Insert another shape to cover the previous one.
> > 3) Group the two shapes.
> > 4) Select the groupshape -> FormatShape -> TextOptions -> TextEffects ->
> > Enable the "keep text flat" option.
> > 5) Save to pptx. Open in Impress.
> > 
> > -> The text won't be there...
> > 
> > Enjoy.
> 
> And the problem: the dir="t" tag handling is missing:
> 
> ...
> <p:grpSpPr>
> ...
>     <a:scene3d>
>         <a:camera prst="perspectiveFront"/>
>         <a:lightRig rig="threePt" dir="t"/>
>     </a:scene3d>
> ...
> 
> Hopefully this will solve this issue. :)

Sorry not the dir="t" exactly but one of these in <a:scene3d>
See http://officeopenxml.com/drwSp-3dScene.php
Comment 25 QA Administrators 2023-08-24 03:14:26 UTC
Dear Keith Curtis,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug