-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logs are saved in XDG_CONFIG_HOME rather than XDG_STATE_HOME #3406
Comments
I'd like to take a crack at implementing this when I get the time, so here's a few preemptive questions for the maintainers:
|
Thanks for your proposition of help
I would say yes
again yes especially because I do not think many software already use ~/.local/state (I only see files from pipiwire on my system)
You should also test that creating a debug archive for example still work as intended |
Fixes nextcloud#3406 Signed-off-by: Miha Frangež <[email protected]>
Did some research about paths in Nextcloud desktop client. Files, which worth attention: In fact, only syncrunfilelog.cpp, account.cpp, configfile.cpp needs changes. This allow to align client with XDG. But what should be done for Mac OS and Windows? Keep current behavior or something else? |
Ilya ***@***.***> writes:
In fact, only syncrunfilelog.cpp, account.cpp, configfile.cpp needs
changes. This allow to align client with XDG. But what should be done
for Mac OS and Windows? Keep current behavior or something else?
This solution is enough? #6201 (comment)
I think using QStandardPaths::StateLocation is fine as long as there's a
compatibility function for Qt below 6.7.
|
Expected behaviour
Logs should be saved (as stated by freedesktop) in the
XDG_STATE_HOME
.A log is clearly not a "user-specific configuration" and logs are explicitly featured as an example of data that should be stored in
XDG_STATE_HOME
Actual behaviour
Logs are stored in the
XDG_CONFIG_HOME
instead in theNextcloud
folder instead.Steps to reproduce
Just use the client and let it produce logs.
Client configuration
Client version: 3.2.2git
Operating system: Archlinux
OS language: German
Qt version used by client package (Linux only, see also Settings dialog): 5.15.2+kde+r196-1
Client package (From Nextcloud or distro) (Linux only): 3.2.2-1
Installation path of client:
/usr/share/nextcloud
The text was updated successfully, but these errors were encountered: