-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: SMB / MTP / some network folders won't refresh after changes #5869
Comments
Can you give it time and see if it refreshes? (And by time I mean 10 seconds) -> #4999 should have taken care of SBM at least |
I repeated the test waiting 1 minute on both cases but no luck, still not automatically refreshing EDIT: I will use the debugger with your linked PR to check if the case is |
It looks like autorefresh is working for windows shares but not for SMB/MTP. I'm afraid we'll need to do it manually (either triggering a refresh after each operation or applying the expected changes to the file list) |
This is getting odd. In release still not refreshing. But in the debugging (in release) of your PR that I'm reviewing it's refreshing at the moment (at least on SMB). I tried to uninstall and install again from the store, but still not refreshing in the release version. Even pasting the file on the last release trigger the refresh on the debugging version but not on the version itself. This is so odd. |
@gave92 if I debug (in debug or release mode, it doesn't have any impact on the matter) it will work perfectly. But if I create the package with my own certificate and then install it, it won't work 😕 |
Hi, |
When it's not working debugger shows this output after pasting a file on the SMB folder: Maybe unrelated, but on the working version this exception is not appearing. |
I think a great "temporary" fix for this would be to have Files automatically refresh when an action (copy, move, paste) is completed. |
how is this still not fixed 1 year later? seems the most important thing to any file manager... |
Tried Files v2.1.24.0 again since v1.9 but still no auto refresh for network drives, that's indeed one of the most important things for a File Manager. Unfortunately deleted the Files app and returned to File Explorer in Windows 11. |
Currently the following code is not really applied to SMB. Files/src/Files.App/Data/Models/ItemViewModel.cs Lines 1396 to 1400 in fefee98
If this code were applied to SMB, it would certainly refresh, but since it refreshes the entire folder, even the item selection and the scroll position will be reset. |
Description
When you make a change on a SMB, MTP or network folder, it won't get automatically refresh.
Progress:
Steps To Reproduce
Expected behavior
Should automatically refresh.
Files Version
1.9.25.0
Windows Version
Windows 10 21H1 10.0.19043.1165
Relevant Assets
debug.log
debug_fulltrust.log
(GIF is for SMB, but it happens the same on MTP)
The text was updated successfully, but these errors were encountered: