Red Hat Bugzilla – Bug 679490
[a11y] LibreOffice Writer hangs when switching view to "Web layout"
Last modified: 2011-10-27 05:59:22 EDT
Description of problem:
LibreOffice Writer has trouble switching to the "Web layout" view when a document is open. The CPU spikes, and the program freezes temporarily. It becomes nearly unusable with large documents.
Version-Release number of selected component (if applicable): LibreOffice 18.104.22.168-1.fc15
Easily reproducible with different documents. Most noticeable with large ones (50+ pages).
Steps to Reproduce:
1. Open .odt document from Nautilus.
2. In LibreOffice Writer, go to "View" and click "Web layout".
Program freezes for different lengths of time (15 seconds to several minutes), depending on the size of the document. Sometimes (but rarely) affects entire desktop.
Fairly quick change from print to web layout.
Happens while running latest Rawhide (as of 22 Feb 2011) on a Lenovo Thinkpad R61 with 2 GHz Intel Core 2 Duo CPU and 2 GB RAM.
Attach a specific example
Caused by a11y. If you turn it off, i.e., run
gconftool-2 -s /desktop/gnome/interface/accessibility -t boolean false
, the change will be fairly quick.
Indeed http://www.oasis-open.org/committees/download.php/12573/OpenDocument-v1.0-os.sxw hangs on switch
looks like its insanely slow and busy rather than in a simple hang
Yes, exactly. I was going to mention this, but I see I haven't...
Created attachment 490585 [details]
Well, hacking this makes it from never ends, to just completely unacceptably slow and leaving unsafe SwAccessibleEvent_Impl dangling pointing to deleted objects.
I have not been able to reproduce the slowdown ever since, so I am going to blame it on at-spi2 or something related.