[Scummvm-tracker] [ScummVM :: Bugs] #12727: ANDROID: Allow Save location in SDcard (Write permission on SD) (was: Allow Save location in SDcard (Write permission on SD))
ScummVM :: Bugs
trac at scummvm.org
Sun Jul 11 07:42:31 UTC 2021
#12727: ANDROID: Allow Save location in SDcard (Write permission on SD)
-------------------------------------------------+-------------------------
Reporter: LukasThyWalls | Owner: (none)
Type: feature request | Status: new
Priority: normal | Component: Port:
| Android
Version: | Resolution:
Keywords: Android, SDCard, Write permission, | Game:
Savegames, Feature request |
-------------------------------------------------+-------------------------
Changes (by antoniou79):
* summary: Allow Save location in SDcard (Write permission on SD) =>
ANDROID: Allow Save location in SDcard (Write permission on SD)
Comment:
The first and primary issue of the ticket, ie. writing permission on the
SD Card, is an issue on "newer" Android OS. The request has to go through
Android's Storage Access Framework.
I can reproduce a bug on this, but at the very least, when trying to gain
storage access ScummVM should throw you to a file system "browser" to set
a folder that can be accessed (typically you set this to the folder or
parent or ancestor folder of the folder --or if you don't care that much,
then the SD card root folder-- where you intend to save your games).
Access would work recursively beyond the folder you set; that is, it will
include access to its children folders.
Can you confirm that you got this redirection to an interface in order to
set a folder to allow access?
I think that setting the SD card root folder should work, because I know
I've tested this originally. There could be a regression to this though
caused by another commit. In my testing today I chose a folder other than
the SD card root and I can see that there's a bug there (the folder is
'retrieved' with the path "encoded" which means path slashes and colons
are converted to their "%2A" "%3A" encoded versions. I will attempt to fix
this and report back.
The second issue you're reporting it's the intended behavior. We put it
there so that people would not navigate to a "/" or an empty path "" and
couldn't recover from there. Some of those shortcuts are expected to not
be useful (to most users anyway), or even redirect to the same thing, but
other than that I don't see a bug in the feature. If you still think
there's an issue there, please elaborate further.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12727#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list