Files.app requests all files within a folder which leads to hangs when the folder is large #2064
Open
3 tasks done
Labels
bug
Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Checklist
Configuration
Blink 18.0.1, iOS 18.0.1
Describe the bug
In certain situations Files.app tries to recursively access every file in a folder. I don't know why, might be to prepare thumbnails. The Blink file provider will then actually transfer each file completely to the phone, which takes a very long time if there are large files or many files in the folder. This prevents performing pretty much any action in Files.app until it is finished, for example viewing or sharing a file.
Here's a situation in which I've noticed this happen:
In this situation, trying to select screenshot.png in Files.app highlights the file but does not open the preview, similarly sharing from the context menu does nothing. Afterwards it is no longer possible to open the context menu either. Looking at the network monitor it is continuously transferring data in the background.
Moving Desktop/folder somewhere else keeps it from being accessed and I can interact normally.
I've also had this happen before when Desktop/folder instead contains more folders with many smaller files inside but also several GB in total.
Might be fixed with #1717.
Expected behavior
Large folders are handled in a performant way.
The text was updated successfully, but these errors were encountered: