Bug 118985 - LibreOffice Impress very slow loading PPTX document
Summary: LibreOffice Impress very slow loading PPTX document
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-29 13:52 UTC by Sujith
Modified: 2018-07-29 16:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
the file in discussion (14.31 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-07-29 13:56 UTC, Sujith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sujith 2018-07-29 13:52:21 UTC
Description:
While opening up a presentation file, which is ended in file extention 'pptx', in Impress is taking a long time to load. Also lot of disk activity has been detected during file loading. Size of the file is just 15MB. 

Actual Results:
Result is same even after increasing the memory

Expected Results:
the file should be loaded instantly


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Sujith 2018-07-29 13:56:46 UTC
Created attachment 143813 [details]
the file in discussion
Comment 2 Drew Jensen 2018-07-29 14:33:51 UTC
Well, I tired this first using the 6.2 Master build from earlier today. (Ubuntu 18.04, 64bit 4core AMD, w/8 gig ram, using wayland)

Opening the pptx file pegged one processor at 100% for 2 minutes, 38 seconds of CPU time. 

Saved it as an odp and reopened it, one processor pegs at 100% for 28 seconds of CPU time.

Using version 5.4.7 same OS

The pptx file uses 100% of 1 cpu for 2 minutes 19 seconds of CPU time.

The odp version uses 100% of 1 cpu for 21 seconds of CPU time.

In all cases Libreoffice was closed between opening the different file types so each was a first document load for the session. 

It seems a bit excessive for the pptx format. 

At no point did the system hang however. (updated the summary to reflect that)

Also, the file is tagged with a line on the bottom of each screen about having gone through a converter to PDF format, if this file was read in to MSO as a pdf and converted to a pptx that could maybe explain some of this.
Comment 3 Jean-Baptiste Faure 2018-07-29 16:53:48 UTC
(In reply to Drew Jensen from comment #2)
[...]
> 
> Also, the file is tagged with a line on the bottom of each screen about
> having gone through a converter to PDF format, if this file was read in to
> MSO as a pdf and converted to a pptx that could maybe explain some of this.

Indeed it seems that the converter make a very bad job converting the background in a lot of line objects, 253 objects in each slide. It is not surprising that reading and rendering each of these useless objects take some time. The problem is on the converter side, not on LibreOffice side.

Closing as NotOurBug.

Best regards. JBF