[9.50b5] Thumbnails not refreshing after renaming

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
lol2x
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-21, 14:58 UTC

[9.50b5] Thumbnails not refreshing after renaming

Post by *lol2x »

With large sets of jpg files when renaming files (for example changing names 001, 002, x, 100 TO 051, 050, x, 150) old thumbnails are displayed (so for newly named 050 file the thumbnail will be from old 050 file)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *ghisler(Author) »

The tumbnail database is updated in a background thread. This can take much longer than the actual rename function when renaming a lot of files. Doing this in the foreground would make TC unusable.
Author of Total Commander
https://www.ghisler.com
lol2x
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-21, 14:58 UTC

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *lol2x »

I have the same thumbnail after 5-10 minutes even when leaving the directory. The only way to fix it (fast) for me is changing the size of thumbnail from (256x256 my default) to something different and going back. Then it is immediately correct.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *petermad »

The only way to fix it (fast) for me is changing the size of thumbnail from (256x256 my default) to something different and going back.
Try and mark the changed files and then use the command: cm_ReloadSelThumbs
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
lol2x
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-21, 14:58 UTC

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *lol2x »

It does work but weirdly only after the second use of the command (I've checked on multiple examples of this bug)
I've recorder gif of it:
Image: https://i.imgur.com/HmyLyvd.gif
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *ghisler(Author) »

Do you get the correct thumbnail if you close and re-open Total Commander without using cm_ReloadSelThumbs?
Author of Total Commander
https://www.ghisler.com
lol2x
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-21, 14:58 UTC

Re: [9.50b5] Thumbnails not refreshing after renaming

Post by *lol2x »

Unfortunately no, it doesn't help doesn't matter how many times I close and re-open.
I'm only able to fix with cm_ReloadSelThumbs or changing size of thumbnails in settings
Post Reply