Simple-Gallery
Simple-Gallery copied to clipboard
Renaming: if filename too long, file gets deleted without warning
I'm experiencing a severe, reproducible bug in Simple Gallery Pro v6.28.1 that unexpectedly deletes media files without warning.
Steps that reliably reproduce the error
on my otherwise healthy Android 9 device:
- open Simple Gallery Pro
- navigate to any media file and tap to display it
- in the three-dots menu, tap "Rename"
- in the dialog field that opens, enter a new filename
- if the new filename happens to be too long (even if by just one character - there is no indication!), tapping "OK" will immediately DELETE the file, then merely informing you that "An unknown error occurred".
What is to be expected instead?
Simple Gallery Pro should reject the invalid rename, issue a brief explanation and leave the file intact.
Remarks
Please note that the concerned file is not moved to Simple Gallery Pro's "Recycle Bin" nor to "Recovered", but fully removed from the file system.
Also note that this bug appears to be specific to Simple Gallery Pro: None of the three other gallery app or file managers I've tested on the same device displays this dangerous behaviour.
See https://github.com/FossifyOrg/Gallery/issues/129 .