Crash after deleting SMB File
See original GitHub issueDescription
After deleting a file located on an SMB folder that is linked to my computer as Z: drive, it crashes. Every time I make a file change in the SMB folder I have to refresh. If I change the name, I have to refresh… delete I have to refresh.
Steps To Reproduce
Navigate to an SMB mounted folder… rename it, then refresh, then delete it. Upon trying to refresh, it crashes.
Expected behavior
I expect any name change or deletion in an SMB folder that is mounted to automatically refresh the files listed.
Files Version
Version: 2.1.13.0 OS Version: 10.0.22000.493
Windows Version
Windows 11 Pro 21H2 22000.493
Relevant Assets/Logs
2022-02-15 14:22:26.8731|INFO|OnConnectionRequestReceived|Argument: FileOperation 2022-02-15 14:22:28.8796|INFO|OnConnectionRequestReceived|Argument: FileOperation 2022-02-15 14:22:34.6220|INFO|OnConnectionRequestReceived|Argument: NetworkDriveOperation 2022-02-15 14:22:34.6332|INFO|OnConnectionRequestReceived|Argument: ShellLibrary 2022-02-15 14:22:34.6335|INFO|OnConnectionRequestReceived|Argument: DetectCloudDrives 2022-02-15 14:22:34.6627|INFO|OnConnectionRequestReceived|Argument: GetSelectedIconsFromDLL 2022-02-15 14:22:34.7233|INFO|OnConnectionRequestReceived|Argument: GetSelectedIconsFromDLL 2022-02-15 14:22:34.7809|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:34.7956|WARN|StartSTATask|The system cannot find the file specified. (0x80070002) System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002) at Vanara.PInvoke.HRESULT.ThrowIfFailed(String message) at Vanara.PInvoke.Shell32.ShellUtil.GetShellItemForPath(String path) at Vanara.Windows.Shell.ShellItem…ctor(String path) at FilesFullTrust.Win32API.GetFileIconAndOverlay(String path, Int32 thumbnailSize, Boolean getOverlay, Boolean onlyGetOverlay) at FilesFullTrust.MessageHandlers.Win32MessageHandler.<>c__DisplayClass3_0.<ParseArgumentsAsync>b__1() at FilesFullTrust.Win32API.<>c__DisplayClass0_0`1.<StartSTATask>b__0() 2022-02-15 14:22:35.0748|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:35.1009|INFO|OnConnectionRequestReceived|Argument: GetIconWithoutOverlay 2022-02-15 14:22:35.1107|INFO|OnConnectionRequestReceived|Argument: DetectQuickLook 2022-02-15 14:22:35.1215|INFO|OnConnectionRequestReceived|Argument: GetNewContextMenuEntries 2022-02-15 14:22:35.6193|INFO|CheckQuickLookAvailability|QuickLook detected: False
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
No it isn’t the full file. Only what pertains to that timeframe. Other Log information was like 10 or 15 minutes prior or after the event. I’m just trying to be careful what stuff gets sent out on these. Maybe I can send them to you privately.
I just sent you an email with the files to the email you have listed on your profile.
Is this still an issue in the preview version? https://files.community/download/preview