Wallpaper picker freezes/crashes when there are many pictures in the Pictures folder
I have many pictures in the Pictures folder (hundreds) and when I open the wallpaper picker in Backgrounds the picker is unresponsive for a long time or sometimes even crashes. I suspect it's because it indexes and scales down all pictures and does it synchronously.
I think:
- it should be done asynchronously, so that loading the thumbnails of pictures doesn't block picking a wallpaper which is the common operation because most users pick wallpapers from wallpapers, not a random picture from Pictures.
- it doesn't have to be triggered when the picker is opened because until the user clicks the Pictures button he/she doesn't need to have thumbnails of all pictures.
The current solution has pretty bad performance issues, I have hundreds of pictures in Pictures, but according to my testing it gets really laggy even with just several dozens of pictures.