[SailfishDevel] harbour rejects user files in a Documents subfolder?
Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if these are not user documents. Files should be stored in $XDG_DATA_HOME. $XDG_DATA_HOME is silly for users: my users must be able to copy there PC created checklist files (plain text) via USB to their Jolla device. $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra intuitive place for normal user to find. All users know the Documents folder. Any harbour people, having suggestions (a $XDG_ folder would render the app completely useless)? Thanks ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?
just use QStandartPath or at least QDir::Home instead of hardcoding /home/nemo On 22.01.2014 15:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if these are not user documents. Files should be stored in $XDG_DATA_HOME. $XDG_DATA_HOME is silly for users: my users must be able to copy there PC created checklist files (plain text) via USB to their Jolla device. $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra intuitive place for normal user to find. All users know the Documents folder. Any harbour people, having suggestions (a $XDG_ folder would render the app completely useless)? Thanks ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?
Hi, On 22.01.2014 11:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if these are not user documents. Files should be stored in $XDG_DATA_HOME. $XDG_DATA_HOME is silly for users: my users must be able to copy there PC created checklist files (plain text) via USB to their Jolla device. OK, this use case was not clear to us. To our understanding the app was just storing data, which the user otherwise does not modify. Please use QStandardPaths::DocumentsLocation (if you don't use that already) and resubmit your application. Sorry for the circumstances. best regards Reto $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra intuitive place for normal user to find. All users know the Documents folder. Any harbour people, having suggestions (a $XDG_ folder would render the app completely useless)? Thanks ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?
Andrey Kozhevnikov schreef op 2014-01-22 10:30: just use QStandartPath or at least QDir::Home instead of hardcoding /home/nemo I use the env.var. HOME (which is normally set to /home/nemo), and only if that fails it falls back to /home/nemo On 22.01.2014 15:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if these are not user documents. Files should be stored in $XDG_DATA_HOME. $XDG_DATA_HOME is silly for users: my users must be able to copy there PC created checklist files (plain text) via USB to their Jolla device. $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra intuitive place for normal user to find. All users know the Documents folder. Any harbour people, having suggestions (a $XDG_ folder would render the app completely useless)? Thanks ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?
Reto Zingg schreef op 2014-01-22 10:41: Hi, On 22.01.2014 11:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if these are not user documents. Files should be stored in $XDG_DATA_HOME. $XDG_DATA_HOME is silly for users: my users must be able to copy there PC created checklist files (plain text) via USB to their Jolla device. OK, this use case was not clear to us. To our understanding the app was just storing data, which the user otherwise does not modify. Please use QStandardPaths::DocumentsLocation (if you don't use that already) and resubmit your application. I did already. Thanks. Sorry for the circumstances. best regards Reto $XDG_DATA_HOME is hidden, and even if it wasn't, it is very contra intuitive place for normal user to find. All users know the Documents folder. Any harbour people, having suggestions (a $XDG_ folder would render the app completely useless)? Thanks ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list