Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Downloading image crashes the app after a long hang #788

Open
appended opened this issue Aug 10, 2020 · 1 comment
Open

Downloading image crashes the app after a long hang #788

appended opened this issue Aug 10, 2020 · 1 comment
Labels

Comments

@appended
Copy link

App will hang for sometimes more than a minute then crash to desktop when trying to download image to a designated folder
Folder will have an empty file (0B) with the correct file name after the crash
May be caused by the folder containing 10000+ images already but previous version which I had been using until a few days ago did not have this issue

Android version: 10
Phone model: Huawei ALP-L29
Clover version: v3.0.2-6c7e3ec7

@K1rakishou
Copy link
Member

K1rakishou commented Aug 10, 2020

SAF is known to be slow as fuck when using it with directories with tons of files.

May be caused by the folder containing 10000+ images already but previous version which I had been using until a few days ago did not have this issue

Yeah, that's because Java File API was used in the previous version which is tens of times faster than SAF.
The only thing you can do is use another empty directory for files. SAF is here to stay because google forces it.

@floens floens added the bug label Aug 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants