Improvement of the thumbnail function for folders.

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14812
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Improvement of the thumbnail function for folders.

Post by *petermad »

This is also discussed here: http://www.ghisler.ch/board/viewtopic.php?p=314240#314240

It seems that the cm_ReloadSelThumbs doesn't really work for folder icons, either set by the FolderPicture.wlx plugin or by Explorers OLE2 function once the icons are cached.

If I for example allow Explorer to set folder icons by using WmfAllowed set to -1, 2 or 3 and enabeling the Explorer OLE2 method for *.* in the Thumbnail configuration - then when I disable folder thumbnails (either by changing WmfAllowed to 0 or by disabeling the Explorer OLE2 method), there are several folder that still has a thumbnail showing, and I cannot get rid of them using the cm_ReloadSelThumbs function. The only way to get rid of them is to rebuild the thumbnail cache by for example deleting thumbnails for no longer existing files.

Also if a folder thumbnail is set by plugin (FolderPicture.wlx) and I disable the plugin - then Explorer cannot show it's folder icon in stead for that folder until I rebuild the thumbnail cache - cm_ReloadSelThumbs has no effect here either

Another thing is that it is not possible to define a file type for folders in the Thumbnail configuration. If I for example ONLY want to use the Explorer OLE2 method to show thumbnails for folders but for NO other file type, then I cannot do that - I have to use *.* for file type to apply the method to folders. It would be nice if I could use saved searches as filter - like I can do it in the Ctrl+F12 filter for the file panels or for colorizing filetypes. Then I could make a saved search that finds only folders, call it fx. Folders and use >Folders as a filter in the Thumbnail setup.

Alternatively a special filetype for folders could be supported, like for example: #%folder%#.

If icons for foldes is provided by a plugin like FolderPicture.wlx and NOT by the Explorer OLE2 method, then it would be nice that it would override if WmfAllowed is set to 0 or 1.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I replied in that thread: If you use Explorer method and Explorer caches the image, TC cannot force a reload.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14812
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

But what about the other suggestion - a way to indicate to use a method (Plugin, Explorer or Irfanview) for folders - a filetype for folders so to say - is that feasible.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can use *. for folders with no dot in them, but you cannot find folders by wildcards here, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14812
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

That's why I suggest ro enable use of saved searches as filters
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
Post Reply