Simple-Voice-Recorder icon indicating copy to clipboard operation
Simple-Voice-Recorder copied to clipboard

deleting files isn't possible from the player tab

Open puchu opened this issue 3 years ago • 10 comments

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.

puchu avatar Jan 14 '23 13:01 puchu

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

tibbi avatar Jan 14 '23 14:01 tibbi

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

puchu avatar Jan 14 '23 17:01 puchu

Same here...

farline99 avatar Apr 08 '23 04:04 farline99

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.

schneidr avatar Jul 22 '23 19:07 schneidr

what app and OS version does it happen to?

tibbi avatar Jul 22 '23 20:07 tibbi

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.

schneidr avatar Jul 23 '23 05:07 schneidr

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.

Aga-C avatar Jul 23 '23 07:07 Aga-C

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.

schneidr avatar Jul 23 '23 09:07 schneidr

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.

ondrejnedoma avatar Aug 10 '23 16:08 ondrejnedoma

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

RustoMCSpit avatar Sep 13 '23 11:09 RustoMCSpit