You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] WSL : Failed to load resource: net::ERR_FILE_NOT_FOUND #4563
I have 2 use cases which cause me issues but are likely due to the same underlying problem.
Use case 1:
With windows explorer, I can browse my WSL2 file system. Then, from the explorer, I can open a markdown file with marktext, and it opens it up just fine. However, images won't load.
Errors in developer console show things like : Failed to load resource: net::ERR_FILE_NOT_FOUND file:///wsl.localhost/Ubuntu-24.04/home/xxx/img/my_image.png?msec=1781781520316
Use case 2:
If I try to open a folder, I can go to \\wsl.localhost\Ubuntu-24.04\xxx\my_folder.
It opens without error, however, I can only see the name of the top folder, no file are listed bellow and says "Empty project"
Steps to Reproduce
Have a wsl2 linux ready.
Create a markdown file in which you link to an image next to it with something like 
Use case 1: Open that markdown file in wsl2 with marktext.
Use case 2: Open the parent folder of the markdown file.
Activity
fix: force chokidar polling for UNC paths on Windows (marktext#4599, m…
fix: bypass chokidar for Windows UNC paths with manual polling
fix: cherry-pick seven upstream fixes; cure state-clone aliasing