https://bugs.documentfoundation.org/show_bug.cgi?id=172984

--- Comment #7 from Alan. A. <[email protected]> ---
I found the most likely reason most of my documents lag in normal view (not in
web view) when pasting text at the beginning.

When I extracted the odt files, I found the styles.xml bloated with:
1. Hundreds of Duplicate Styles. For example, generated list styles, starting
from ListLabel_20_1 and going all the way up to ListLabel_20_426.  
2. Redundant Font Properties: Many of these ListLabel styles are simply
repeatedly defining identical properties for symbol fonts like "Wingdings,"
"Symbol," and "OpenSymbol".  

The most likely reasons they got bloated was:
1- Frequent Copy-Pasting: Importing or pasting data/text from various external
web pages, emails, or other documents often brings along hidden, one-off custom
style definitions every single time. 
2- Orphaned Styles: When applying a custom style or formatting and later
deleting the text or cells, the underlying style definition remains permanently
embedded inside the styles.xml part of the file archive rather than being
automatically cleaned up. 

I have other documents that their styles.xml file is not bloated, and don't
exhibit this lagging behavior when pressing Enter or pasting text at the
beginning.

In conclusion, LibreOffice Writer handles bloated documents efficiently in web
view, but lags in normal view.

I am so grateful for your help. Your guidance and support have not gone
unnoticed, thank you so much.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to