app almost unresponsive if many audio files in folder
Checklist
- [x] I can reproduce the bug with the latest version.
- [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information to.
- [x] I have read the FAQ and my problem isn't listed.
- [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [x] This issue contains only one bug.
- [x] I have read and understood the contribution guidelines.
Describe the bug Loading/opening the app takes very long and a window pops up with the heading "Voice Recorder isn't recording" and with the 2 options/buttons "Close app" or "Wait". This window pops up every few seconds for a while. This is extremely annoying and makes the app almost unusable. (The app still works otherwise. The app is not completely frozen.)
Steps to reproduce the behavior:
- Either create many audio recordings "naturally" or move many audio files to the folder, which is used by the app for saving audio recordings. (This problem happened for me with 37 audio files with a total of about 80 MB, or maybe a bit earlier.) (This problem does not happen with a small amount of audio files.)
- Close the app if the app was still open to "refresh"/load the audio files in this folder.
- Open the app.
Expected behavior This problem should not exist, even if there are many audio files in the selected folder.
Device info:
- Model: Fairphone 3+
- OS: Android 13
- App version: 5.12.3
Additional context This same problem has already been reported: https://github.com/SimpleMobileTools/Simple-Voice-Recorder/issues/193
Same issue.
Android 14
Same on Android 11. I noticed the same when i tried to change from the default recording folder to my previously used one which contains a lot of recordings.
As reported in issue #55 i experienced the.same issue with 68 files and a total of around 55,8 MB. The action of renaming a single of file takes up to 18 seconds.
It should be fixed in the next update.