imgbrd-grabber
imgbrd-grabber copied to clipboard
Image window shows incorrect image after multiple switching to the next/prev result
Bug description
Image window shows the last downloaded image after multiple switching to the next result. So if it happens that previous image is loaded after the selected, image window will show the previous image.
I.e.: current image is A, you press 'next result' a few times to switch from A to B, then from B to C. B & C are not presented in the cache and still downloading. If downloading time of B is longer than downloading time of C, image window will end up showing B instead of C.
Steps to reproduce
- Search for something
- Open image window (A image)
- Press 'Next search result' 2 times (switch from A to C image)
Expected behavior
Image window should always show the correct image after switching to the next/prev search result.
Context
N/A
Screenshots
System information
- OS: Windows 10
- Grabber version: 7.9.0 x64
Additional context
N/A