imgbrd-grabber icon indicating copy to clipboard operation
imgbrd-grabber copied to clipboard

Image window shows incorrect image after multiple switching to the next/prev result

Open adem4ik opened this issue 2 years ago • 1 comments

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

  1. Search for something
  2. Open image window (A image)
  3. 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

image

System information

  • OS: Windows 10
  • Grabber version: 7.9.0 x64

Additional context

N/A

adem4ik avatar Jun 08 '22 06:06 adem4ik