Do not automatically create a storage folder in the way that is currently done (on Linux) #4818
Open
1 task done
Labels
feature request
Suggestion/Request for additional feature
Duplicate Check
Describe the requested feature
With the implementation of
FLET_APP_STORAGE_DATA
, flet started to create a folder for storage data. While I understand why the current solution is sub-optimal. (Not to say an absolute no go)For me (on Linux) the folder seems to be created in the current user's document folder (I have tried to look in the flet source to find the logic behind this, but have not managed to find the relevant parts). Many Linux users (myself included) really dislike applications that litter the home directory like this. $HOME/Documents is there for users to (voluntarily) put files there, not for some random application to put data there.
Suggest a solution
Personally, I see two options here:
FLET_APP_STORAGE_DATA
path. This would allow them to add some kind of interaction for the user to agree (complicated to implement, might conflict with writing platform independent apps).XDG_DATA_HOME
and default to$HOME/.local/share
if not set. This would be the recommended path according to the XDG Base Directory Specification (Would prefer)Screenshots
No response
Additional details
Other environment variables such as
FLET_APP_STORAGE_TEMP
already seem to xdg honour the specification correctly.The text was updated successfully, but these errors were encountered: