Incomprehensible: thumbnails stop appearing, icons are shown instead

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

Hello everyone,

I've had this problem for pretty much forever. I have a folder on my PC where my Samsung automatically saves photos as soon as I take them, via Dropbox. The photos accumulate, so periodically I set the view to thumbnails in Total Commander to quickly identify the photos I want to delete. As soon as I switch the view to thumbnails, all the JPEGs visible in the window correctly display their thumbnails. However, after scrolling down a few pages, the thumbnails stop appearing, and only icons are shown instead. The files are all JPEGs created by the same Samsung, so they all have the same compression format. This can also happen if I start from the last page and scroll up: after a short while, the thumbnails disappear. I've tried disabling the use of the database, and I've tried every possible combination of settings in the thumbnails options of Total Commander, but nothing has worked.
On my computer, I have installed and always used Irfanview as my default image viewer. I don't know what else to do.

Thank you for your attention.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *Stefan2 »

Thumbnails need to be extracted from the image file, so it could be just a timing problem, .... maybe be a little more patient?

- what if you wait a minute after scrolling?
- is that "folder on my PC" on a internal HDD/SSD?
- how many JPEGs are in that "folder on my PC"?
--- what if you sort the JPEGs by year and next check the thumbnails in that folders?   (to work on fewer items)


- check menu "Configuration > Thumbnails" for possible settings (f.ex.: do you use the database there?)

 
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

When I switch to thumbnail view, I get the previews for the first screen almost instantly. Then, as I scroll through 1, 2, 3 pages, I get them instantly each time. However, after a few pages, the generation of the previews stops, and there's nothing I can do. If I wait, no new previews appear. I can scroll down, or I can go back up, but I don't see any new previews generated anywhere.
The folder currently contains 1200 JPG photos, each averaging 3 megabytes.
The folder is located on an SSD, and the computer is a Ryzen 5 with 12 cores at 3.6GHz, 32GB of RAM, and an RTX 3060 12GB graphics card.
Sorting is by date.
In "Configuration > Thumbnails" I also tried to remove the use of the database, or tried with or without internal preview, with or without the use of irfan/xn-view.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *ghisler(Author) »

Maybe there is a faulty image among them where extraction stops?

Please add the following line to the wincmd.ini below the [Configuration] header:
DebugIconThread=3
You can open the file via menu Configuration - Change settings files directly.
Then close and re-open Total Commander. This will create a file named tcicolog.txt in TEMP. Go there via command line:
cd %temp%

When loading of thumbnails stops, open the file tcicolog.txt with F3 and scroll to the end (Ctrl+End). Then search for
thumb:
backwards. This should find the last image for which Total Commander tried to load the icon. Please copy the file elsewhere, then disable thumbnail mode, close and re-open Total Commander, and go to that directory. Now try enabling thumbnail mode there. Does it load the thumbnail?

This will slow down the loading of icons and thumbnails quite a bit, so remove the line after testing.
Author of Total Commander
https://www.ghisler.com
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

Ok, I added DebugIconThread=3 to the wincmd.ini, closed and reopened TC, went back to the image folder, activated the thuumbnails, and... now all the previews load correctly! 😲
Then I removed DebugIconThread=3, closed and reopened TC, went back again to the image folder, activated the previews, and it still works. 🤔
This is great! Solved just like that! 🤷‍♂️
If it happens again, I'll try re-enabling the debug...

Thanks! 😅
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *petermad »

Here I experienced this - on the phone it was only if I switch to extracting thumbnails with the "Explorer (OLE2)" method that I got thumbnails - with the "Internal thumbnails from images", the "Lister plugins" method or the "Irfan-/Xnview" method for .jpg I didn't get thumbnails.

I then enabled both the "Internal thumbnails from images" AND "Explorer (OLE2)" method for .jpg files, and it seems that the Explorer method takes over when the Internal method fails.

So make sure that "Internal thumbnails from images" and "Explorer (OLE2)" are both set to include.jpg

So it seems that the "Internal thumbnails from images" method does not work for .jpg files on the phone.

Since the phone's DCIM folder is a virtual folder, I tried it on a virtual folder on the PC (\\Documents) and it turns out that also here the "Internal thumbnails from images" method does not work - So it is apparently on all virtual folders that the "Internal thumbnails from images" method does not work.

This is my current thumbnail settings:

Code: Select all

ThumbsLocation=F:\Thumbs
ThumbsCopyDel=1
ThumbOptions=28
ThumbGdiplusTypes=*.jpg *.dng *.crw *.arw *.cr2 *.cr3 *.nef *.orf *.pef *.raf *.rw2 *.jpeg
ThumbPlgTypes=*.* |*.jpg *.png *.avi *.mp3 *.mp4 *.wmv *.mov *.mpeg *mpg *.m4v
ThumbExplTypes=*.jpg *.png *.avi *.mp3 *.mp4 *.wmv *.mov *.mpeg *.mpg *.m4v | *.htm* *.lnk
ThumbIrfXnTypes=*.*
ThumbTxtTypes=*.txt *.ini *.mnu *.inc *.lng *.htm*
ThumbsCustomFieldsEnabled=1
ThumbsCustomField=[=tc.writedate.D-M-y]  [=tc.size.bkMG]\n[=shelldetails.Dimensioner]
ThumbWidthNoCache=128
ThumbHeightNoCache=72
ThumbIconSize=32
PreloadThumbnails=2
ThumbnailPrealloc=100000
ThumbnailMemoryLimit=200
ThumbnailSizeLimit=1000
I have filed a bug report about this: viewtopic.php?t=83591
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

I had the same problem again, so I went to add DebugIconThread=3 to find out where the problem is, but - again - after inserting this line in the configuration, the problem did not appear 😅😅😅
At this point, I will leave the debug option enabled forever 🤷‍♂️
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

I captured the moment!
Here is the last part of the log.
After the file "d:\Dropbox\Camera Uploads\2024-04-01 18.08.04.jpg" there are many others but the logo doesn't say anything about it.

Click to show
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-02 17.09.08.jpg OleExtractThumbFromIdlist returns: 18446744072233488720
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-02 17.09.08.jpg posting notification for bmp: 18446744073625997410
25/08/2024 17:00:17: RefreshBitmap notification received, index=84, bmp=-83554206
25/08/2024 17:00:17: Adding image to item list, index=84
25/08/2024 17:00:17: thumb: d:\Dropbox\Camera Uploads\2024-04-01 18.08.21.jpg
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.21.jpg extract called:
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.21.jpg OleExtractThumbFromIdlist returns: 18446744073441450658
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.21.jpg posting notification for bmp: 1694828577
25/08/2024 17:00:17: RefreshBitmap notification received, index=85, bmp=1694828577
25/08/2024 17:00:17: Adding image to item list, index=85
25/08/2024 17:00:17: thumb: d:\Dropbox\Camera Uploads\2024-04-01 18.08.07.jpg
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.07.jpg extract called:
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.07.jpg OleExtractThumbFromIdlist returns: 18446744073575667950
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.07.jpg posting notification for bmp: 1090851163
25/08/2024 17:00:17: RefreshBitmap notification received, index=86, bmp=1090851163
25/08/2024 17:00:17: Adding image to item list, index=86
25/08/2024 17:00:17: thumb: d:\Dropbox\Camera Uploads\2024-04-01 18.08.04.jpg
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.04.jpg extract called:
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.04.jpg OleExtractThumbFromIdlist returns: 18446744072132827157
25/08/2024 17:00:17: d:\Dropbox\Camera Uploads\2024-04-01 18.08.04.jpg posting notification for bmp: 1711609986
25/08/2024 17:00:17: RefreshBitmap notification received, index=87, bmp=1711609986
25/08/2024 17:00:17: Adding image to item list, index=87
25/08/2024 17:00:42: Removing pending bitmap and icon notifications
25/08/2024 17:00:42: Removing bitmaps and icons from background thread queue
25/08/2024 17:00:44: Removing pending bitmap and icon notifications
25/08/2024 17:00:44: Removing bitmaps and icons from background thread queue
25/08/2024 17:00:54: Removing pending bitmap and icon notifications
25/08/2024 17:00:54: Removing bitmaps and icons from background thread queue
25/08/2024 17:00:58: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\274d600c5.exe
25/08/2024 17:00:58: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\TodoBackup16.3_free.exe
25/08/2024 17:00:58: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\updatePkg.exe
25/08/2024 17:00:59: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\274d600c5.exe
25/08/2024 17:00:59: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\TodoBackup16.3_free.exe
25/08/2024 17:00:59: icon: <idlist> C:\Users\Administrator\AppData\Local\Temp\updatePkg.exe
25/08/2024 17:01:03: Lister: FormCreate
25/08/2024 17:01:03: Lister: FormShow
25/08/2024 17:01:54: Removing pending bitmap and icon notifications
25/08/2024 17:01:54: Removing bitmaps and icons from background thread queue
25/08/2024 17:01:54: reload drive iconsdummy
25/08/2024 17:01:59: Removing pending bitmap and icon notifications
25/08/2024 17:01:59: Removing bitmaps and icons from background thread queue
25/08/2024 17:02:02: Lister: FormCreate
25/08/2024 17:02:02: Lister: FormShow
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

Another detail: if I close and reopen Total Commander, all (or at least more) thumbnails are loaded compared to the previous session. For example, now I can scroll from the beginning to the end and I see that all thumbnails have been loaded, but after scrolling randomly for a while, all the thumbnails disappear, even though they had all been processed and loaded!

Image: https://ibb.co/kXcCKvb


EDIT - SUBSTANTIAL UPDATE:
The thumbnails ALREADY LOADED AND VISIBLE disappear after a few operations of moving/deleting photos.
This is exactly the sequence: I open Total Commander, I see all the thumbnails, I start scrolling, I identify a couple of photos to move or delete, I move/delete them, I resume scrolling, I identify a few more photos to delete/move, I move/delete them -> ALL thumbnails disappear from that point onwards.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *ghisler(Author) »

According to the log, extracting icons didn't lock up. Instead, TC removed images from the queue because it was re-reading the directory:
Removing pending bitmap and icon notifications
This is a function which was removed after Total Commander 11.01. Could you retry with 11.03?

Btw, did you switch away from TC while it was loading thumbnails?
Author of Total Commander
https://www.ghisler.com
zupermario
Junior Member
Junior Member
Posts: 33
Joined: 2011-04-01, 21:11 UTC

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *zupermario »

I don't think so. In the tests I did, I scrolled from top to bottom seeing all the previews, so they were already all loaded when, upon pressing enter on a photo, the external viewer opens.

Okay, I'll try to update TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incomprehensible: thumbnails stop appearing, icons are shown instead

Post by *ghisler(Author) »

Please post a new log if it also happens in 11.03!
Author of Total Commander
https://www.ghisler.com
Post Reply