Bug 54551 - FILEOPEN: long time to load .DOC file
Summary: FILEOPEN: long time to load .DOC file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: bibisectRequest, filter:doc, regression
Depends on:
Blocks: DOC-Opening
  Show dependency treegraph
 
Reported: 2012-09-05 12:19 UTC by Sam Morris
Modified: 2016-12-21 19:49 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (217.50 KB, application/msword)
2012-09-05 12:19 UTC, Sam Morris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Morris 2012-09-05 12:19:02 UTC
Created attachment 66668 [details]
test document

The attached document takes a very long time to load--over a minute on my system. When scrolling up and down LO regularly freezes while trying to draw the pages.
Comment 1 A (Andy) 2013-02-23 21:43:18 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)

Opening the same file with MS Office 2007 takes only approx. 1 - 3 seconds.
In addition, there are a few smaller layout issues, but the checkboxes in the forms show errors.  Maybe these checkboxes are also the reason causing this long load time?
Comment 2 Elton Chung 2013-04-26 19:06:12 UTC
Just a rough investigation:
Throughout the document, there are 256 calls to https://secure.dcsf.gov.uk/ for retrieving the images hosted on the domain. 

Removing those images will help decreasing the load time of the doc to normal.
Comment 3 Julien Nabet 2013-11-11 22:12:37 UTC
Indeed there are a lot of calls to secure.dcsf.gov.uk + certificates exchanges.
Since i know too little about certificates, I won't put any logs public.

Michael:  I wonder if a certificate cache could be possible and help here. If useful, I can send you console logs.
Comment 4 Michael Meeks 2013-11-12 11:01:37 UTC
Hmm; so another instance of terrible image management =) adding to the tracker.
Comment 5 QA Administrators 2015-04-19 03:23:02 UTC Comment hidden (obsolete)
Comment 6 Sam Morris 2015-04-19 11:57:48 UTC
I have retested with 4.3.3 and 4.4.2-rc2. In both versions the document takes a long time to import. Once imported performance is fine.
Comment 7 Buovjaga 2015-06-19 15:15:02 UTC
Confirmed it takes a long time to load, adjusted title and severity.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 437210d58f32177ef1829d704f7f4d2f1bbfbfdd
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-18_07:21:56
Locale: fi-FI (fi_FI)
Comment 8 Giuseppe Castagno (aka beppec56) 2016-03-11 10:43:59 UTC
Testing in a Linux LO master log build, file affecting the load time is:

<https://secure.dcsf.gov.uk/consultationsadmin/img/optionBox.gif>

due to:
'Server certificate verification failed: issuer is not trusted'
Trying to open the graphic file with a browser, Firefox displayed this:

'secure.dcsf.gov.uk uses an invalid security certificate. The certificate expired on 02/05/2013 12:59 AM. The current time is 03/11/2016 11:31 AM.'

Dates are in en-US format.

When the bug was reported the certificate was valid, but now it's no longer possible to reproduce the exact bug cause.
Comment 9 Telesto 2016-12-03 20:59:37 UTC
Confirming with:
Version: 5.4.0.0.alpha0+
Build ID: 33f5bc54aaa7fe7aa9335726e30f9c349155e04d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-12-01_23:21:05
Locale: nl-NL (nl_NL); Calc: CL

loading time is quite good with:
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Without: <https://secure.dcsf.gov.uk/consultationsadmin/img/optionBox.gif> loading is still to slow.
Comment 10 tommy27 2016-12-04 07:03:11 UTC
tested under Win8.1 x64 and LibO 5.2.3.3 on a SSD disk
it takes almost 7 minutes and 30 seconds to load from double click