New internal command to refresh the icons in file list

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

New internal command to refresh the icons in file list

Post by *DrShark »

Sometimes Total Commander can show incorrect icons, which is especially problematic in Search results panel view where Total Commander doesn't get notifications from operating system about changed items (for example, files after feeding to listbox became NTFS hard links, which should now be indicated by adding the overlay "arrows" to their icons).

Total Commander cannot watch the Search results list panel view for changes as it can do for normal folders. Although Total Commander has a command to re-read current folder, which updates some file data, the Search results view is not a folder so the command to re-read current folder is designed to leave (destroy) Search results view.

It would be possible to solve the problem by adding a new internal command just to update icons of selected files.

The topic of similar suggestion for Total Commander for Android is here

You can support both suggestions in a poll here:
https://www.ghisler.ch/board/viewtopic.php?f=7&t=75338
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: New internal command to refresh the icons in file list

Post by *DrShark »

Thanks for implementation in TC 10.50:
history1050.txt wrote:08.03.22 Added: New internal command cm_ReloadFileIcons re-loads all icons and icon overlays without re-reading the file lists (32/64)
So far it works without problems. It works with whole panel filelist, and it would be nice if it would have modes to work only with focused or selected files/folders.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
white
Power Member
Power Member
Posts: 4576
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: New internal command to refresh the icons in file list

Post by *white »

DrShark wrote: 2022-06-10, 18:45 UTC So far it works without problems. It works with whole panel filelist, and it would be nice if it would have modes to work only with focused or selected files/folders.
Perhaps it is a good idea to add "[Implemented]" to the subject of your first post and start a new thread for your new suggestion.
Danny_S_Cz
Junior Member
Junior Member
Posts: 9
Joined: 2022-05-22, 07:43 UTC

Re: New internal command to refresh the icons in file list

Post by *Danny_S_Cz »

For example, I would like to be able to choose my own set of icons for displaying disks.
E.g. that it would be possible to choose the path to the .dll or .icl library via the button ... or to add the library to the program folder or to the home folder where wincmd.ini is, and from that the library with icons would be loaded as another item in the window where I choose the type of icons.
Post Reply