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

deleting files isn't possible from the player tab #175

Open
puchu opened this issue Jan 14, 2023 · 10 comments
Open

deleting files isn't possible from the player tab #175

puchu opened this issue Jan 14, 2023 · 10 comments

Comments

@puchu
Copy link

puchu commented Jan 14, 2023

the app has the necessary permissions (read/write). It can also create files aka the access seems to work.

After the user gets asked for confirmation, and accepts it, the files don't get deleted.

@tibbi
Copy link
Member

tibbi commented Jan 14, 2023

does any error show up or what happens? Have you changed the default save folder?

@puchu
Copy link
Author

puchu commented Jan 14, 2023

yes, i changed the default save folder. No error shows up. Sometimes the files even gets removed from the player tab but the file is still in the folder and shows up on the next startup

@farline99
Copy link

Same here...

@schneidr
Copy link

schneidr commented Jul 22, 2023

Any progress on this? This is really annoying.

No error message, it doesn't matter if the recordings are stored on the internal storage or an sd card, the issue is the same.

@tibbi
Copy link
Member

tibbi commented Jul 22, 2023

what app and OS version does it happen to?

@schneidr
Copy link

what app and OS version does it happen to?

App Version is 5.11.4. it happened with previous versions as well.

The device in question is a Samsung A31 with Android 12

On a Sony Xperia II with Android 12 deleting the recordings works.

Maybe a Samsung specific problem? Samsung is notorious for issues like this.

@Aga-C
Copy link
Contributor

Aga-C commented Jul 23, 2023

I've checked it on OnePlus with Android 13 on the latest app version - it also doesn't remove files after changing directory. App shows that the file has been deleted, but in file explorer I still can see it. The same behavior is on the emulator.

Also, there is another related bug with removing files in a default directory. Here are the steps to reproduce:

  1. Install the app from the scratch to make sure no default settings has been changed.
  2. Record a file (in a default directory).
  3. Change directory to another.
  4. Revert to the default directory.
  5. Record another file.
  6. Remove both files.

It removes only the file that was originally recorded before changing the default directory. Even if I return to the default directory after changing it before, it still can't remove files in it except all recorded before changing anything. To make it work again, I need to revoke app's external memory permission in Android's app settings.

@schneidr
Copy link

THANK you @Aga-C . I can confirm on my Xperia that the deletion stops working as soon as I choose another directory. Reverting to the old directory does not resolve it.

I had to reset the app, now the deletion is working again. No reinstallation necessary.

@ondrejnedoma
Copy link

ondrejnedoma commented Aug 10, 2023

Any progress? Encountered this on PixelExperience android 13 on a redmi note 11, when trying to delete, a dialog with "allow voice recorder to delete audio file?" pops up, and then a huge lag, followed by the file not actually being deleted.

Edit: the solution could perhaps be for the app to all for a "manage all files" permission, as many file browsers do, rather than asking for one directory only. In a closed source app this would be kinda sketchy, but since this is open source, it'd be alright I think.

@RustoMCSpit
Copy link

RustoMCSpit commented Sep 13, 2023

if this bug occurs could there be a warning to say file deletion failed

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

No branches or pull requests

7 participants