aseprite / aseprite

Animated sprite editor & pixel art tool (Windows, macOS, Linux)
https://www.aseprite.org
29.37k stars 6.11k forks source link

Add feedback to "Recover Files" option when there are a lot of files/sessions to recover #4610

Closed dacap closed 1 month ago

dacap commented 2 months ago

This requires some testing, but I think there is a "little" hang of the UI when we press the Recover Files button (probably a base::list_files() blocking the whole UI or something like that).

Reports:

dacap commented 2 months ago

Seeing several reports recently where the "Recover Files" option is taking time/freezes the program, not sure if there is a regression of some kind (?)

ckaiser commented 2 months ago

I've been doing some investigating and it's a bit of a maze but hopefully I'll have something concrete soon, I've already found some optimizations for the raw crawling of files but I'm still unclear on how and why it's doing some of the work since it's a bit inconsistent

dacap commented 1 month ago

At the moment we've fixed this issue with #4660 and #4672 improving the performance to list/display files/items. If further performance issues are reported we can reopen this.