CBZ/CBR pages stop loading after PC sleep
In 3.5.x Sumatra PDF versions, if I leave a CBZ document open while the PC goes to sleep, all except a couple pages before and after the current one, appear black when the PC wakes up again. Version 3.4.6 had no such issue. Documents are opened from a NAS in Windows 11, if that helps.
I believe to lower memory usage and improve time to show first image we stopped extracting all images in memory on opening .cbz files. This is especially important for large (e.g. 1 GB) files.
So now that we just keep the file handle open and extract images on demand, it makes sense that going to sleep and loosing (temporarily) network connection kills the handle and makes it no longer possible to read from the file.
Maybe we can re-open the file if there's an error reading.