Icons don't update on Desktop on file delete

Please report only one bug per message!

Moderators: Stefan2, white, Hacker

Post Reply
Argimko
Junior Member
Junior Member
Posts: 4
Joined: 2017-02-22, 06:53 UTC

Icons don't update on Desktop on file delete

Post by *Argimko »

Hello Christian!

Sometimes, when I delete file at TC window from Desktop folder, it doesn't refreshes items on the desktop.

I see this error is about 1 or 2 years.

Please, move your Desktop folder outside of User Profile folder, for example, move it to D:\Desktop to increase a chance to catch the bug.

Please, see the video for detailed info: https://youtu.be/ysKjEZSXJIM

1. Delete file with context menu from TC: OK
2. Rename file: OK
3. Delete file with Del key from TC [want to fix]: Fail
4. Delete file from Explorer [don't want to fix]: Fail

So, could you, please, call SHChangeNotify every time when TC remove folder or file directly from Desktop folder, AHK code for example:

Code: Select all

DllCall("shell32\SHChangeNotify", Int,SHCNE_DELETE := 0x4, UInt,SHCNF_PATH := 5, Str,"path_to_some_item_directly_on_desktop", Ptr,0)
Obviously, seems, it is Windows bug, but seems they are not plan to fix it, so could you make this workaround, please :)

This bug reproduced at Windows 10 21H2, 22H2 with TC v9.x, v10.x 32-bit and 64-bit.

Thank you!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 5454
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Icons don't update on Desktop on file delete

Post by *Horst.Epp »

Not confirmed here
The addition or deletion of files or links to/from the desktop updates it immediately.
I don't move my desktop out of my users folder as this is the normal place for it.
Windows 11 Home x64 Version 22H2 (OS Build 22621.1194)
TC 10.52 x64 / x86
Everything 1.5.0.1335a (x64)
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2853
Joined: 2003-05-06, 11:46 UTC

Re: Icons don't update on Desktop on file delete

Post by *Sir_SiLvA »

Argimko wrote: 2022-11-19, 18:06 UTCObviously, seems, it is Windows bug, but seems they are not plan to fix it, so could you make this workaround, please :)
Sorry, but why should TC implement a workaround for an Windows bug?
(I have never seen this as I dont move the desktop folder)
Argimko
Junior Member
Junior Member
Posts: 4
Joined: 2017-02-22, 06:53 UTC

Re: Icons don't update on Desktop on file delete

Post by *Argimko »

Silva, doing Windows and other app related (like Norton CleanSweep) bug workarounds allowed Total Commander being so perfect file manager.

I think the next detail is important to reproduce the bug:

Windows Recycle Bin "Display delete confirmation dialog": option is Off

Code: Select all

[wincmd.ini]
UseTrash = 1
Win95Delete = 0
VistaDelete = -1
DeleteDelay = 0
Post Reply