Thumbnail view in Search Results often unstable

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Thumbnail view in Search Results often unstable

Post by Papoulka »

[This is with v14 of XY Free, but was also true in the free version of Dec 2013. I now have Windows 7 32-bit but the problem also existed under Win XP. I notice the problem when searching a folder tree for images on a large external USB drive. I haven't tried other conditions.]

XY can go bananas when generating many thumbnails in a Search Results window. It always happens when I search a tree of folders with say >500 images. XY finds the files OK in detail view. When I go to thumbnail view, XY begins creating them properly (the first few screens are OK). However, as I scroll or page down and get past 100 images or so, XY begins scrolling wildly, creating some thumbnails while skipping others. I have tried some but not all combinations of thumbnail size, caching or not caching etc. with no improvement.

Because this does always happen, under two different OS and two different external drives, I would think you can easily replicate the issue. Though it is curious that nobody else has reported the problem... If you need more info I can try more controlled conditions.

Thanks.

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Thumbnail view in Search Results often unstable

Post by admin »

FWIW, It does not happen here. I tried the wildest scrolling possible while thousands of thumbnails were being generated.

So I cannot do anything apart from suggeesting the obvious: Don't scroll while thumbs are being generated. :)

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Thumbnail view in Search Results often unstable

Post by Papoulka »

Thank you for trying. I thought sure it would happen for you too. Now I have to figure that it's something on my system. I'll experiment more.

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Thumbnail view in Search Results often unstable

Post by Papoulka »

After more thought (since this always happens for me): the problem may stem from the fact that the pictures involved are in hundreds of subfolders. And/or the fact that they are on a large external USB drive. So the setup is:

Folder001
(lots of non-image files)
Folder2
(lots of non-image files)
Folder3
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
pic5.jpg
Folder002
(lots of non-image files)
Folder2
(lots of non-image files)
Folder3
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
pic5.jpg
Folder001
(lots of non-image files)
Folder2
(lots of non-image files)
Folder3
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
pic5.jpg
Folder003
(lots of non-image files)
Folder2
(lots of non-image files)
Folder3
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
pic5.jpg

...

Folder300
(lots of non-image files)
Folder2
(lots of non-image files)
Folder3
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
pic5.jpg


Under these conditions, if I search the top folder for *.jpg and then enable thumbnails in the Results window, XY will have trouble. It properly generates the first screen or two of thumbs, but if I do anything (eg press Page Down once) then XY will begin scrolling down, back up etc, creating a few thumbs here and there. Only after many back-and-forths does it finally make all the thumbs and then will scroll normally. Of course, if I don't ever try to scroll I can't know when things are quiescent.

This is still true with v14.00. I'd be very surprised if it doesn't happen for other folks too, though there is no mention of it...

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Thumbnail view in Search Results often unstable

Post by bdeshi »

Go to Tools->Configuration->Thumbnails.
Tick these options: Super-fast thumbs & Create all thumbs at once & cache thumbnail of find results too. You'll have an initial speed bump when entering a folder with imgs for the first time but afterwards browsing should be fast.
Alternatively, the view mode(s) toolbar button context menu has "Create all thumbnails now" which achieves the same thing for current location without globally checking "Create all thumbs at once" in config.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Thumbnail view in Search Results often unstable

Post by Papoulka »

Thanks; the settings you suggested helped: Super-fast thumbs / Cache search results too / Create all thumbs at once. Now, XY doesn't go quite as much out of control, and recovers better.

However, it still "misbehaves". It makes some of the first thumbs. Then to move down and see more I have to click in the scrollbar below the drag block. One click should go one screen. But instead, XY starts scrolling down uncontrollably. It makes some sections of thumbs and skips others. When it reaches the 'end' it stops, and those thumbs are visible. If I try to move up to see earlier thumbs, it jumps and skips back, and is generally hard to manage. Eventually, all thumbs are generated and can be scrolled through normally, but it takes some effort.

Windows 7 32-bit.

-------------------
BTW I see that the comment system removed leading spaces from the example tree I gave earlier. It should be:

Folder001
..(lots of non-image files)
....Folder2
... (lots of non-image files)
....Folder3
......pic1.jpg
......pic2.jpg
......pic3.jpg
......pic4.jpg
......pic5.jpg
Folder002
..(lots of non-image files)
....Folder2
... (lots of non-image files)
....Folder3
......pic1.jpg
......pic2.jpg
......pic3.jpg
......pic4.jpg
......pic5.jpg
Folder003
..(lots of non-image files)
....Folder2
... (lots of non-image files)
....Folder3
......pic1.jpg
......pic2.jpg
......pic3.jpg
......pic4.jpg
......pic5.jpg

. . .

Folder300
..(lots of non-image files)
....Folder2
... (lots of non-image files)
....Folder3
......pic1.jpg
......pic2.jpg
......pic3.jpg
......pic4.jpg
......pic5.jpg

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Thumbnail view in Search Results often unstable

Post by PeterH »

Regarding scrolling: which version do you use? Such a problem was corrected in a beta very short ago...

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Thumbnail view in Search Results often unstable

Post by Papoulka »

Thanks; it was a while before I had another chance to try this with the latest version (14.100.010). In a smaller-than-usual test, things seem better than with v14.000. I'll post again if the next big job shows any problems.

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Thumbnail view in Search Results often unstable

Post by Papoulka »

.
OK - referring to earlier posts, I think the problem is with image size. That's what causes wild thumb generation, with any settings.

The following should replicate the problem. On any drive with 1GB of space, create a 30-folder tree as shown below. Make sure that several of the images in each folder are 7-10MB in size.

Folder01
..(some non-image files)
....Folder2
... (some non-image files)
....Folder3
......pic1.jpg (10MB)
......pic2.jpg (8MB)
......pic3.jpg (5MB)
......pic4.jpg
......pic5.jpg
Folder02
..(some non-image files)
....Folder2
... (some non-image files)
....Folder3
......pic1.jpg (10MB)
......pic2.jpg (8MB)
......pic3.jpg (5MB)
......pic4.jpg
......pic5.jpg

. . .

Folder30
..(some non-image files)
....Folder2
... (some non-image files)
....Folder3
......pic1.jpg (10MB)
......pic2.jpg (8MB)
......pic3.jpg (5MB)
......pic4.jpg
......pic5.jpg


Now in the root folder above all of these, do a search for *.jpg. You'll find 150 files. In the Search Results list, switch the View to Thumbnails #1. On my very fast system on a big internal SSD, the first screen of thumbs will appear fine. However, even with "create all thumbs at once" enabled, creation will stop after a screen or two. To get more thumbs created it will be necessary to scroll down. After very little of that, thumb creation and scrolling will go out of control - as described in my first post.

Other info: I'm running Windows 7, 32-bit. I have enabled: "Super-fast thumbnails"; "Cache thumbnails on Disk"; "... of search results too"; "Create all thumbnails at once". I have also tried disabling these. The problem does not arise (or is easy to overlook) if the images are small (eg 100KB-200KB). And this isn't an occasional thing. For me it *always* happens regardless of which PC I try it on. The problem is worse if the images are on an external drive.

I think it is some sort of timing problem... maybe if thumb generation takes too long, scrolling gets confused.

Thanks!

Post Reply