Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming: if filename too long, file gets deleted without warning #3036

Open
GfEW opened this issue Nov 8, 2023 · 1 comment
Open

Renaming: if filename too long, file gets deleted without warning #3036

GfEW opened this issue Nov 8, 2023 · 1 comment
Labels

Comments

@GfEW
Copy link

GfEW commented Nov 8, 2023

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:

  1. open Simple Gallery Pro
  2. navigate to any media file and tap to display it
  3. in the three-dots menu, tap "Rename"
  4. in the dialog field that opens, enter a new filename
  5. 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.

@tibbi tibbi added the bug label Nov 9, 2023
@GfEW
Copy link
Author

GfEW commented Feb 14, 2024

See FossifyOrg/Gallery#129 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants