Issue 115341 - Standard configuration files aren't created
Summary: Standard configuration files aren't created
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2010-11-01 21:15 UTC by sworddragon
Modified: 2017-05-20 10:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Dolphin screenshot (39.14 KB, image/png)
2014-02-11 22:07 UTC, Edwin Sharp
no flags Details
Screenshot of ~/.config (39.92 KB, image/png)
2014-02-11 23:34 UTC, sworddragon
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sworddragon 2010-11-01 21:15:33 UTC
Example: Start OpenOffice Writer and close it so that the standard configuration
files are created. Now delete ~/.config/.openoffice.org/3/user/basic and start
OpenOffice Writer. A few error messages appear because the standard files are
missing. OpenOffice should create them then again without an error message. It
seesm that this even work with more folders like /basic.
Comment 1 eric.savary 2010-11-01 22:34:34 UTC
Reassigned
Comment 2 Olaf Felka 2010-11-16 07:25:54 UTC
Native OOo isn't writing to .config. It seems to be a feature of your co-packed
linux distribution Office.
Comment 3 sworddragon 2010-11-16 13:45:18 UTC
I have fully uninstalled my version from the ubuntu repository and tested this
problem with the native version of this site. OpenOffice.org is still saving to
.config too.
Comment 4 Edwin Sharp 2014-02-11 14:30:53 UTC
.config directory is empty.
AOO410m1(Build:9750)  -  Rev. 1566800
2014-02-11_04:11:01 - Rev. 1566981
Debian
Comment 5 sworddragon 2014-02-11 21:44:36 UTC
I have tested this now with Apache OpenOffice 4.0.1 and the bug still exists. But a little thing has changed: The directory ~/.config/.openoffice.org/3/user/basic is now ~/.config/.openoffice/4/user/basic.

The directory is directly created after Writer is started. I have tested this with the 64 bit debian packages from Sourceforge on Ubuntu 14.04 dev.
Comment 6 Edwin Sharp 2014-02-11 22:07:07 UTC
Created attachment 82563 [details]
Dolphin screenshot

What am I missing?
Comment 7 sworddragon 2014-02-11 23:34:37 UTC
Created attachment 82565 [details]
Screenshot of ~/.config

This is how it looks on Ubuntu. As the screenshot shows a lot of applications have already ported from ~/ to ~/.config/. Could it be that debian has configured something that prefers ~/ over ~/.config/? It is also suspicious that in this screenshot .openoffice is the only directory that begins with a point as this is uncommon for the ~/.config/ directory. Maybe on debian the path is ~/.openoffice/4/user/basic and if not can you check with inotify where Apache OpenOffice stores your profile?
Comment 8 Ariel Constenla-Haile 2014-02-11 23:41:49 UTC
(In reply to sworddragon from comment #7)
> Created attachment 82565 [details]
> Screenshot of ~/.config
> 
> This is how it looks on Ubuntu. As the screenshot shows a lot of
> applications have already ported from ~/ to ~/.config/. Could it be that
> debian has configured something that prefers ~/ over ~/.config/? It is also
> suspicious that in this screenshot .openoffice is the only directory that
> begins with a point as this is uncommon for the ~/.config/ directory. Maybe
> on debian the path is ~/.openoffice/4/user/basic and if not can you check
> with inotify where Apache OpenOffice stores your profile?

I assume your distro is setting XDG_CONFIG_HOME
See Bug 121949
Comment 9 sworddragon 2014-02-11 23:45:02 UTC
You are right:

sworddragon@ubuntu:~$ env | grep '\.config'
XDG_CONFIG_HOME=/home/sworddragon/.config
Comment 10 Edwin Sharp 2014-02-12 07:01:59 UTC
Is this a duplicate of bug 121949?
Comment 11 sworddragon 2014-02-12 10:24:55 UTC
No, I'm complaining that the default configuration isn't fully recreating if partly deleted while the other report is complaining about saving at the wrong location with a non-optimal naming convention.
Comment 12 Edwin Sharp 2014-02-12 10:30:29 UTC
OK, thanks.
Comment 13 Marcus 2017-05-20 10:45:26 UTC
Reset the assignee to the default "issues@openoffice.apache.org".