d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.75k stars 499 forks source link

Image Booster does not pre load images before switching between images #1482

Open marckruzik opened 1 year ago

marckruzik commented 1 year ago

System information:

Actual behavior:

After I display an image, Image Booster does not start to pre load images. Image Booster pre loads images only after switching images.

It means that after opening the first picture, Image Booster is not triggered. So when I switch to the second picture, there is a loading time. It's only after I switch to any picture (left or right) that Image booster is triggered.

Expected behavior:

Image Booster should start pre loading picture right after the first picture is displayed.

To Reproduce

Steps to reproduce the behavior:

  1. Create a folder with big and small pictures
  2. In Windows Explorer, order pictures from big to small
  3. Open the first picture (the biggest picture)
  4. Wait a few seconds
  5. Switch right to the next picture (the second biggest picture)
  6. There is a loading time
  7. Switch right to the next picture (the third biggest picture)

Steps to prove Image Booster is triggered by switching pictures:

  1. Create a folder with big and small pictures
  2. In Windows Explorer, order pictures from big to small
  3. In ImageGlass set the option to loop back the slideshow (Settings > Image > loop back slideshow)
  4. Open the first picture (the biggest picture)
  5. Wait a few seconds
  6. Switch left to the previous picture (the smallest picture as the slideshow loops)
  7. There is no loading time (as it is a small file)
  8. Wait a few seconds
  9. Switch right to the next picture (the biggest picture)
  10. Switch right to the next picture (the second biggest picture)
  11. There is no loading time
SplitGemini commented 3 months ago

+1