Rebuild Thumbnails hotkey & other ways.

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: XnTriq, helmut, xnview, Dreamer

FKCapitalism
Posts: 76
Joined: Wed Feb 09, 2022 7:32 pm

Rebuild Thumbnails hotkey & other ways.

Post by FKCapitalism »

When i organize images i use XnView MP as file manager, instead of windows explorer, right now its not thought trough for that scenario.

For instance i have two folders folder "A" and "B" next to each other, when i go into folder "A" select all, Ctrl+X then go into folder "B" and Ctrl+V and go up a directory, folder "A" still showing thumbnails, when in reality its empty.

Need to select folder "A" then go into menu View > "Rebuild thumbnails" then it shows no thumbnails for folder "A" so i know i can safely delete folder "A".

If i am reorganizing 20 folders at a time i can mistakenly delete folder that still has images in it, because in my workflow i don't even read folder names - i move files around based on thumbnails, just open folder view thumbnails then move files if needed then go to next folder etc.
After files are moved - need to delete empty folder, if folder auto update showing no thumbnails it would stand out in the list of other folders so it can safely delete it.
  • If you have questions please see how "FastStone Image Viewer" preforms above task, it automatically updates folder thumbnails after moving files away from that folder.
  • If i create New Folder inside XnView and Paste (Ctrl+V) inside "New Folder" then, go up one directory it shows no thumbnails until manually updated, even if i move that newly created folder to other location (Ctrl+X & Ctrl+V) or even if i create "New Folder" and or "drag and drop" images inside, it still does not update thumbnails for that folder, would be nice if XnView generate thumbnails for that new folder automatically.
  • As quick workaround please provide shortcut for View > "Rebuild thumbnails" e.g. Ctrl+F5 or something.
User avatar
xnview
Author of XnView
Posts: 38817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Rebuild Thumbnails hotkey & other ways.

Post by xnview »

yes known issue, i have no notification that the folder has changed. But if some files are moved, i can purge the current thumbnail for this folder...
Pierre.
FKCapitalism
Posts: 76
Joined: Wed Feb 09, 2022 7:32 pm

Re: Rebuild Thumbnails hotkey & other ways.

Post by FKCapitalism »

xnview wrote: Wed May 04, 2022 12:42 pm yes known issue, i have no notification that the folder has changed. But if some files are moved, i can purge the current thumbnail for this folder...
How about save "date modified" for folder in thumbnails database and if it's changed then rebuild thumbnails for that folder automatically?
FKCapitalism
Posts: 76
Joined: Wed Feb 09, 2022 7:32 pm

Re: Rebuild Thumbnails hotkey & other ways.

Post by FKCapitalism »

Please for now at least create keyboard shortcut for View > Rebuilding Thumbnails option, i have to use this command numerous times when organize files and move them in or out of different sub folders.
Gwenael Q.
Posts: 160
Joined: Mon Apr 06, 2020 2:06 am
Location: Martinique

Re: Rebuild Thumbnails hotkey & other ways.

Post by Gwenael Q. »

Hello,

This issue is related to, and probably a duplicate of viewtopic.php?f=62&t=43641

I would suggest to continue the discussion there.

Thanks for listening
FKCapitalism
Posts: 76
Joined: Wed Feb 09, 2022 7:32 pm

Re: Rebuild Thumbnails hotkey & other ways.

Post by FKCapitalism »

Gwenael Q. wrote: Tue Sep 13, 2022 3:04 pm Hello,

This issue is related to, and probably a duplicate of viewtopic.php?f=62&t=43641

I would suggest to continue the discussion there.

Thanks for listening
This topic created earlier than the one you linked, and its already located in Bug reports > Reproduced - TODO forum, so i suggest merging other topic inside this one.
Gwenael Q.
Posts: 160
Joined: Mon Apr 06, 2020 2:06 am
Location: Martinique

Re: Rebuild Thumbnails hotkey & other ways.

Post by Gwenael Q. »

This topic created earlier than the one you linked, and its already located in Bug reports > Reproduced - TODO forum, so i suggest merging other topic inside this one.

@FKCapitalism: You're completely right. :-)
Sorry !

I added a link there to continue the discussion here.
BeCool
Posts: 30
Joined: Tue Jun 21, 2022 4:51 pm

Re: Rebuild Thumbnails hotkey & other ways.

Post by BeCool »

FKCapitalism wrote: Mon May 09, 2022 6:57 pm ....
How about save "date modified" for folder in thumbnails database and if it's changed then rebuild thumbnails for that folder automatically?
Unfortunately, looking at "date modified" is not enough and proof of ... nothing. There is always 2 parts to discuss, if "date modified" is modified or is NOT modified :
part one : if "date modified" is modified, it is a proof that the image COULD be changed ... or just re-saved unchanged !
part two : if "date modified" is not modified, it is NOT a proof that the image was NOT changed. There is a lot software which have -fortunately this time- the option "keep original date". (1)

Same thing if you check other properties -like file size- it is possible that ANY properties of ALL files have changed and one or more files have changed. (2)
conversely it is possible that NONE file properties have be changed, but file changed.just swap names : the first four files could be not the same to be "thumbnailed"

So,
part one : if files are modified inside Xnview, Xnview know them and know what is done, so Xnview is able to -and, our demand, must do- check if thumbnails have to be rebuild or not - and do all needful rebuilds.

part two : if files have been modified (3) outside Xnview, Xnview will be able or not to detect all changes, so it is necessary to have a command to refresh display, 1 or 2 or 3 commands :
#1 : "refresh" = refresh icons and thumbnails of files
#2 : "rebuild thumbnails" = refresh thumbnails of first files in subfolders, first sub level
#3 : "rebuild recursively thumbnails" = refresh thumbnails of first files in subfolders, recursively all level of selected or active folder


(1) My way of working :
If on First January, I correct a picture -example remove the "red eyes"- I want to keep the this picture with the others shooted at the same date
-with those at Christmas for example.
And if at Eastern, I'll correct metadata -example correct "Crhistmas" in "Christmas"- files have be changed, but none properties

(2) conversely, some simple transformations -like swap Black and White, or swap left an right- could result in same size files, but different images

(3) created/removed/or changed in any way: name, content, properties, metadata, or what else you want