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:
Obviously, seems, it is Windows bug, but seems they are not plan to fix it, so could you make this workaround, please
Code: Select all
DllCall("shell32\SHChangeNotify", Int,SHCNE_DELETE := 0x4, UInt,SHCNF_PATH := 5, Str,"path_to_some_item_directly_on_desktop", Ptr,0)
This bug reproduced at Windows 10 21H2, 22H2 with TC v9.x, v10.x 32-bit and 64-bit.