https://bugs.kde.org/show_bug.cgi?id=476854

            Bug ID: 476854
           Summary: Graphical layout state should use ${XDG_STATE_HOME},
                    not ${XDG_CONFIG_HOME}
    Classification: Frameworks and Libraries
           Product: frameworks-kxmlgui
           Version: unspecified
          Platform: Exherbo
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: eternal...@gmail.com
  Target Milestone: ---

Version 0.8[1] of the XDG Base Directory Specification (released 2021-05-08)
added a new directory, `${XDG_STATE_HOME}`. From the spec:

> The $XDG_STATE_HOME contains state data that should persist between
> (application) restarts, but that is not important or portable enough
> to the user that it should be stored in $XDG_DATA_HOME. It may contain:
> 
> - actions history (logs, history, recently used files, …)
> - current state of the application that can be reused on a restart
>   (view, layout, open files, undo history, …)

[1]: https://specifications.freedesktop.org/basedir-spec/0.8

This would significantly reduce churn of files in `${XDG_CONFIG_HOME}`, with
significant benefits for use-cases where the config is immutable, under version
control, or otherwise benefits from not changing due to incidental (rather than
intentional) user action.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to