Skip to content
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: File watcher doesn't work for WSL #9250

Open
quantumwebco opened this issue May 24, 2022 · 3 comments
Open

Bug: File watcher doesn't work for WSL #9250

quantumwebco opened this issue May 24, 2022 · 3 comments
Labels
area - file system bug Something isn't working 👀

Comments

@quantumwebco
Copy link

quantumwebco commented May 24, 2022

Description

When pasting a file or anything in the WSL filesystem I have to hit F5 for the view to update. The green tick shows in the top right but the files list is not updated

This particularly happens when working in the WSL filesystem but occasionally happens in native NTFS too

Steps To Reproduce

  • Open directory in WSL
  • Paste a file and see that the folder doesn't display the new item

Expected behavior

  • New item automatically shows

Files Version

2.1.15.0

Windows Version

Windows 11 Pro 21H2 22000.706

Relevant Assets/Logs

debug.log

@quantumwebco quantumwebco added the bug Something isn't working 👀 label May 24, 2022
@yaira2
Copy link
Member

yaira2 commented May 24, 2022

@quantumwebco is this still an issue in the preview version? https://files.community/download/preview

@yaira2 yaira2 added the needs - additional info Needs more information from the reporter label May 24, 2022
@quantumwebco
Copy link
Author

@yaichenbaum Yeah, still happening on preview. I get the green tick in the top right to say it's completed but it doesn't update the view. I haven't noticed it doing it much in NTFS, just occasionally. But pasting in to WSL it happens always. The performance between windows and linux filesystems isn't great in WSL so maybe it's to do with that?

@Josh65-2201 Josh65-2201 removed the needs - additional info Needs more information from the reporter label Aug 1, 2022
@Josh65-2201 Josh65-2201 changed the title Not refreshing on change Bug: WSL folders don't refresh on file change Oct 10, 2022
@yaira2 yaira2 changed the title Bug: WSL folders don't refresh on file change Bug: File watcher doesn't work for WSL Oct 13, 2022
@hishitetsu
Copy link
Member

As a workaround, the list is now automatically refreshed when files are added. #13068
If this issue can be resolved, please remove the workaround.

HasNoWatcher = isFtp || isWslDistro || isMtp || currentStorageFolder?.Item is ZipStorageFolder;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area - file system bug Something isn't working 👀
Projects
Status: 🔖 Ready to build
Development

No branches or pull requests

5 participants