[Libreoffice-bugs] [Bug 140039] New: LibreOffice does not comply with XDG Base Directory Specification

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 31 18:33:52 UTC 2021


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

            Bug ID: 140039
           Summary: LibreOffice does not comply with XDG Base Directory
                    Specification
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: eike at zettelkiste.de

Description:
LibreOffice on *nix systems stores runtime files, cache, extensions and much
more in the `.config/libreoffice/4/user/` directory instead of the correct
locations in `$XDG_RUNTIME_DIR`, `$XDG_CACHE_HOME` and `$XDG_DATA_HOME`.

See
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

`~/.config` or `$XDG_CONFIG_HOME` is reserved for configuration data only.
Store runtime files (that can be removed after log-out) in `$XDG_RUNTIME_DIR`,
cached data in `$XDG_CACHE_HOME` and persistent user specific data in
`$XDG_DATA_HOME`.

Steps to Reproduce:
1.Install LibreOffice
2.Start LibreOffice
3.Watch LibreOffice flood your .config directory.

Actual Results:
LibreOffice creates the `$XDG_CONFIG_HOME/libreoffice/4/user/` directory and
stores *everything* user specific there.

Expected Results:
LibreOffice creates `$XDG_CONFIG_HOME/libreoffice/`,
`$XDG_RUNTIME_DIR/libreoffice/`, `$XDG_CACHE_HOME/libreoffice/`,
`$XDG_DATA_HOME/libreoffice/` and files according to their lifetime and
redundancy (as described in the XDG Base Directory Specification).


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-IE (en_IE.UTF-8); UI: en-US
7.0.4-3
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210131/a54a9a1a/attachment.htm>


More information about the Libreoffice-bugs mailing list