After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704422 - slow opening of ODF file
slow opening of ODF file
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export OOo / OASIS
git master
Other Linux
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-07-17 20:10 UTC by Andreas J. Guelzow
Modified: 2013-07-20 01:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2013-07-17 20:10:40 UTC
The ODF file in comment #2 of bug #704391 takes 80 seconds to open, much slower than LoCalc.
Comment 1 Morten Welinder 2013-07-17 22:55:31 UTC
http://www.excelmexel.de/HTMLOOCalc/Zeiterfassung.ods for reference.

The problem here is the way we apply default styles.  We first apply
the the default column style to the whole column:

> Applying style to A1:A65536

then later we clear that again:

> Applying style to A36:AMJ65536

This isn't normally a problem, but applying and clearing conditional
styles[*] is expensive.  This is because we are linking them into
the dependency system so we can update the display when a dependent
changes.




[*] We probably have the cost for all styles; I don't think we actually
need it for conditions that only refer to the current cell.
Comment 2 Andreas J. Guelzow 2013-07-20 01:53:59 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.