Issue 104190 - OOo opens html-"xls" file very slowly (or hangs)
Summary: OOo opens html-"xls" file very slowly (or hangs)
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.1
Hardware: Unknown Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on: 100189
  Show dependency tree
Reported: 2009-08-12 16:28 UTC by diman
Modified: 2013-01-29 21:41 UTC (History)
3 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---

File (548.97 KB, application/x-compressed)
2009-08-12 16:30 UTC, diman
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description diman 2009-08-12 16:28:38 UTC
Right click on the file > open with > calc. 
And calc don't respond. Tried on windows Me/xp sp3/ vista sp2.
Comment 1 diman 2009-08-12 16:30:51 UTC
Created attachment 64099 [details]
Comment 2 Rainer Bielefeld 2009-08-13 19:26:29 UTC
I checked with "Ooo 3.1.0 WIN XP multilingual version German UI activated 
[OOO310m11 (Build 9399)]" and can confirm the reported hang.

XLS-Viewer can't open this "Microsoft Excel 11" document, too, so I believe
document is damaged. But of course, OOo should not hang trying to open it.
Comment 3 Rainer Bielefeld 2009-08-14 06:13:32 UTC
OOo does not really hang, but it takes a lot of time with high processor load to
open "berg.xls". 

"Ooo Dev 3.2.0 multilingual version English UI WIN XP: [DEV300m53 (Build 9412)"
opens "berg.xls" within a minute as a WRITER/HTML document!

The sample document is not a real EXCEL spreadsheet, but a HTML document. So
Comment 4 diman 2009-08-14 16:46:58 UTC
1. Excel 2003 opens it fast.
2. It may be open by writer but OOo hangs this way: Right click on the file >
open with > calc(win xp, vista). So CALC really hangs. 
I waited 12 minutes on core 2 duo 3.16Gh.

But if this document is HTML maybe i should fill another issue.
Comment 5 Rainer Bielefeld 2009-08-14 17:40:07 UTC
This is exactly the same problem as in Issue 70981. As long as the FEATURE is
not integrated, you can not estimate that OOo will open such documents quickly.

Still can't confirm a hang, it takes 3 minutes, then the document has been opened
(AMD Athlon 64bit 3500+ / 1GB RAM)

Please compare source code of both sample files using WIN Editor!

*** This issue has been marked as a duplicate of 70981 ***
Comment 6 diman 2009-08-14 19:23:56 UTC
Source code of both sample files is similiar but:
  1.File in issue 70981 is opened with Calc(NOT with WRITER)quite fast and well.
  2.File in issue 70981 is opened with WRITER slowly.
  3.File in this issue is not opened with calc at all, it hangs (on my computer
tried wait more than 15 min with no result)
 So problems are different.

rainerbielefeld, Did you open open it with Сalc or with Writer? Did you use OOo
3.1 or 3.2. 
Comment 7 Rainer Bielefeld 2009-08-15 09:35:33 UTC
my OOo 3.1 decides to open "berg.xls" with WRITER, "atto.xls" with CALC. The
reason seems to be that OOo isn't "really" able to handle those EXCEL-HTML
documents. Let's wait for further comments here.
Comment 8 diman 2009-08-15 16:30:55 UTC
There is summary for this file (berg.xls):

File can be opened with calc this way: Start and then File -
Open. Choose the document
and then choose the file type "HTML Document ( Calc)
(*.html;*.htm)"It takes 4 minutes to load WITH CALC on Core 2 duo 3,16 Mh. That
is really long.
The second way I tried (as I wrote before) hangs calc:
Right click on the file => open with => calc. 

Rainerbielefeld, issue 70981 is about ignoring css and this issue is about
performance and stability. I don't think that this is duplicate of  70981.
If so, please reopen issue. 
Comment 9 diman 2009-08-19 17:12:18 UTC
Reopen for above mentioned reasons.
Comment 10 jbf.faure 2010-04-03 11:11:59 UTC
No problem to load this file with OOo 3.2.0 (FR) and OOO320m14 under Ubuntu
8.04. I used file type "HTML document ( Calc)". It is more
difficult to open it with Firefox but both give similar results.

@diman: Please try again with OOo 3.2 on your OS.

Regards. JBF
Comment 11 diman 2010-04-06 19:25:09 UTC
@jbfaure. Yes, 3.2 seems open it "HTML document ( Calc)" more or
less well. 
Comment 12 Rainer Bielefeld 2010-04-07 05:18:37 UTC
I still takes more than 1 minute for me to open sample document "berg.xls" with
"Ooo-Dev 3.2.1 multilingual version English UI WIN XP: [OOO300m14 (Build
9489)]"! When document is open, OOo3.2 is very lazy, reactions often need
several seconds, and I see lots of HTML code as comments. 

Indeed, there is some progress, 14 will open the document as a CALC document,
not as a WRITER document.
Comment 13 paolopoz 2010-05-26 13:49:01 UTC
Is this a duplicated of issue 100189?