-
Notifications
You must be signed in to change notification settings - Fork 361
Description
The flathubbot has rejected my latest submission because we added ~/.audiveris to the list of directories the application must access. While I'm discussion this on Flathub, can we discuss here if we really need it?
On my system, I see the following files in this directory:
AudiverisMainFrame.session.xml LogicalPartsEditor.session.xml SplitAndMergeDialog.session.xml
LanguagesFrame.session.xml ScoreParamsDialog.session.xml SplitAndMergeIncludeDialog.session.xml
They seem to be related to remembering UI layout. I verified that the flatpak audiveris app can start without accessing this directory (directory removed and permissions for it removed). But it opens with a minimal window that needs to be increased in size before one can actually work with the application. So just removing the permission is not a good way forward (although we might do so just in order to get the application published—to be discussed).
@hbitteur, apparently the application (audiveris) has control over the name of the file. Perhaps there's a way to store these files below xdg-config aka $XDG_CONFIG_HOME aka .var/app/org.audiveris.audiveris/config? That would be most elegant. Otherwise we'll need to convince the flathub people that we need access to $HOME.
It has probably never been a good idea to use just ~/.audiveris. After all, the application would need to create this directory unless it exists already, which would fail if it has no access to $HOME itself.
Link: #534