xplorer
xplorer copied to clipboard
Windows 10 - Endless loop & no longer responds when clicking on some folders
Description
In the documents folder, there is some folders appearing that I do not have on my windows explorer folder. When I try to click on them, the Xplorer no longer responds, I can't open a new tab or even change folder directory. I have choose to continue previous session on startup in the settings, so had to disable it and go back on new tab setting to restore the Xplorer to Home and end the endless loop, otherwise the bug still here whith the 1rst option.
Steps To Reproduce
- Open Xplorer
- Go to Documents folder
- Click on one of the following folder inside Documents that I detect the bug pops :
- Pictures
- Videos
- Music
Expected behavior
Those folders does not exist inside my Documents folder, so expecting to not see them, or show empty folder and being able to keep navigate into the Xplorer.
Xplorer Version
v0.2.0
Operating System Version
Windows 10
Additional Information
Here is a gif that shows the problem. The lang settings is in English but the mysterious files are in French.

Weird. Thing is that Xplorer calls the file system API reads the directory that Xplorer does not make any interrupt for that.
But nonetheless, the thing that no longer responds is alarming, If I'm not wrong it's fixed on the master branch but could you please try the latest build?
I think this is the same I just downloaded, but I did the reinstall through your link anyway.
Mysterious folders are still there, and the endless loop when clicking on them too. I could just ignore those folder but if I missclick them I would have to disable the on startup - continue previous session option, which I really like !
I think this is the same I just downloaded, but I did the reinstall through your link anyway.
Is it? the file I sent is the latest build which brings tons of bug fixes and some new feature (ex: the search feature besides of the path navigator if you notice it) which is scheduled to be released after the holiday
Mysterious folders are still there, and the endless loop when clicking on them too.
Is there any popup like this?

I could just ignore those folder but if I missclick them I would have to disable the on startup - continue previous session option, which I really like !
Really sorry for that but I think it is supposed to tell that the directory does not exist. If it doesn't then something might went wrong when calling the file system API.
Anyway, are you able to build from the source? so that we can investigate that deeper
I think this is the same I just downloaded, but I did the reinstall through your link anyway.
Is it? the file I sent is the latest build which brings tons of bug fixes and some new feature (ex: the search feature besides of the path navigator if you notice it) which is scheduled to be released after the holiday
Oh, you'r right, didnt notice it since I was focused on the problem I encounter ! 😄
Mysterious folders are still there, and the endless loop when clicking on them too.
Is there any popup like this?
No popup at all, just endless loop :(
Anyway, are you able to build from the source? so that we can investigate that deeper
Never did this before, 1rst time, but will try to and will report here whenever it's done.
It seems that it's the problem with the file system, please lemme know when you succeed to build from the source.
So I cloned the repo, did a yarn, and I can't pass the yarn build command :
https://i.imgur.com/DjliJEF.png
The error seems to say that there is some missing file ? (0: 'Le fichier spécifié est introuvable. (os error 2)')
And failed to run cargo.
Did you get the Tauri dependencies?
Yes, sorry, had to restart the terminal for it to be effective.
So this is my new error :
'The specified path could not be found. (os error 3)'
I cannot find anything about it that is conclusive. I did found this topic but don't really know where to put the sample code he's talking about :s
That's a bug with Tauri itself, to handle this, you have to delete these lines:
https://github.com/kimlimjustin/xplorer/blob/master/src-tauri/tauri.conf.json#L42-L45
also, you're running yarn build which is for building msi installer, for our case, running yarn dev is enough to start local development.
After running so, please insert the following code inside src-tauri/src/files_api.rs
- After line 140
println!("{:?}", metadata); - After line 257
println!("{:?}", path);
And open the paths that have those mysterious folders (Downloads, etc). Those command will (hopefully) gives us enough information.
Weird. Thing is that Xplorer calls the file system API reads the directory that Xplorer does not make any interrupt for that.
But nonetheless, the thing that no longer responds is alarming, If I'm not wrong it's fixed on the master branch but could you please try the latest build?
Ok