Issue 21513

Summary: Firsttime "execute" Autotext not possible if autotext path is changed
Product: Writer Reporter: rkollien <rudolf.kollien>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues, tamblyne, th.stache
Version: OOo 1.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description rkollien 2003-10-21 15:56:33 UTC
In the config dialog: If you remove the path of the standard autotext location,
"executing" an autotext via the F3 key is not possible. This occurs only if the
standard path of the autotext dir <oo-instdir>/share/autotext/<lang> is deleted.

1) we don't want the standard autotexts provided with the distribution and don't
want to have an entry named "Standard" in the autotext maintaince dialog.
2) we use a separate dir for the user autotext to be sure this is not overwriten
by a update/reinstall.
3) we dont't have/want a system wide autotext dir.

So in the config dialog we changed the pathes for autotext to only
"$HOME/Documents/OOffice/Autotext". Now when you start writer and want to use
autotext, the F3-key is without function. You first have to invoke the autotext
maintainance dialog via Ctrl-F3. You than can immediatelly close it by hiting
the ESC-key or closing it via the Cancel- or OK-Button. At this moment you can
use the F3-key as usual to "execute" a stored autotext. This only happens if the
default path to autotext, pointing to the install dir, is removed. 
As we added the standard dir to the paths for autotext again,  the F3-key does
the job as expected. It is only neccessary that the path to the standard
autotext directory in the INSTALLDIR of OpenOffice is present. The standard path
in the users home dir can be changed or removed.

- open Writer 
- go to tools/options/path
- for autotext remove the path entry pointing to the "systemwide" autotext dir
(normally <installdir>/share/autotext/<lang> on Linux).
- close and reopen writer
- hit F3
-> nothing happens
- go to tools/options/path
- select autotext and klick "Default"
- close and reopen writer
- hit F3
-> Dialog "autotext for '' not found". This is correct.

System: Linux gcc 2.2.5/Windows2000/Win98
OOo-Version: 1.0.3 and 1.1.0
Comment 1 tamblyne 2003-11-02 19:59:28 UTC
Confirmed RH9/680m11

This behavior occurs not only when the server path is deleted, but
also when it is restored -- F3 functionality is nullified until the
AutoText dialog is opened and then closed.  

Comment 2 h.ilter 2003-11-03 12:57:54 UTC
Reassigned to SBA
Comment 3 stefan.baltzer 2004-05-26 23:21:29 UTC
SBA: Target set to OOo later. Reassigned to OS.
Comment 4 Thorsten Stache 2013-07-22 11:23:45 UTC
The same problem exists in OpenOffice 3.4.1 on windows
Comment 5 Thorsten Stache 2013-07-22 11:55:27 UTC
Also when i use the default configuration and write the autotext to 'my autotext' in 'C:\Users\<username>\AppData\Roaming\\3\user\autotext\mytexts.bau'.
Comment 6 Thorsten Stache 2013-07-29 08:49:57 UTC
The problem seems to be fixed in version 4.
Comment 7 Marcus 2017-05-20 11:24:18 UTC
Reset assigne to the default "".
Comment 8 Marcus 2017-05-20 11:26:12 UTC
Reset assigne to the default "".