Issue 116466

Summary: performance: writer autotext *.bau files can cause delays during typing
Product: Writer Reporter: Oliver Brinzing <oliver.brinzing>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO330m18   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
log file none

Description Oliver Brinzing 2011-01-14 14:33:55 UTC
it seems writer acceses custom autotext *.bau files periodically 
during typing if option:

[X] Display remainder of name as suggestion while typing

is *activated* (see menu entry "Edit - AutoText...")

this causes a lot of network traffic and delays if the *.bau files are 
stored on a network share with a small bandwith, for example.

to monitor this behaviour you can use procmon.exe (sysinternals)
and add a filter "Path conatains [path to custom autotext folder]"

you will see, the *.bau files are accesed several times during typing,
again and again ...

an example logfile is attached
Comment 1 Oliver Brinzing 2011-01-14 14:34:42 UTC
Created attachment 75565 [details]
log file
Comment 2 eric.savary 2011-01-15 10:02:56 UTC
Sounds pretty logical: this file is checked for corresponding entries while
typing. If it is located on a network drive with slow connection it slows down
the program.
Comment 3 eric.savary 2011-01-15 10:03:08 UTC
closed
Comment 4 Oliver Brinzing 2011-01-15 10:33:11 UTC
@es: i disagree, i would expect every "BlockList.xml" (see inside *.bau file's) 
is read *once* and not *again* and *again* during typing, scrolling text,
switching to page preview ...
imho it seems, the entries are not cached at all ...
Comment 5 eric.savary 2011-01-17 12:56:18 UTC
@OS: Please have a look.
Comment 6 Marcus 2017-05-20 11:15:23 UTC
Reset assigne to the default "issues@openoffice.apache.org".