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

Windows 10 - Endless loop & no longer responds when clicking on some folders #204

Open
Boscher-audrey opened this issue Dec 23, 2021 · 11 comments
Labels
bug Something isn't working investigating Furthur information is requested os: windows Windows platform

Comments

@Boscher-audrey
Copy link

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

  1. Open Xplorer
  2. Go to Documents folder
  3. 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.

a1XhKzTSvS

@Boscher-audrey Boscher-audrey added the bug Something isn't working label Dec 23, 2021
@kimlimjustin
Copy link
Owner

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?

@Boscher-audrey
Copy link
Author

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 !

@kimlimjustin
Copy link
Owner

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?
image

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

@Boscher-audrey
Copy link
Author

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? image

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.

@kimlimjustin
Copy link
Owner

It seems that it's the problem with the file system, please lemme know when you succeed to build from the source.

@stanleyowen stanleyowen added investigating Furthur information is requested os: windows Windows platform labels Dec 23, 2021
@Boscher-audrey
Copy link
Author

Boscher-audrey commented Dec 23, 2021

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.

@im-coder-lg
Copy link
Contributor

Did you get the Tauri dependencies?

@Boscher-audrey
Copy link
Author

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

@kimlimjustin
Copy link
Owner

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

  1. After line 140
    println!("{:?}", metadata);
  2. After line 257
    println!("{:?}", path);

And open the paths that have those mysterious folders (Downloads, etc). Those command will (hopefully) gives us enough information.

@Sarhm2021
Copy link

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?

@Sarhm2021
Copy link

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigating Furthur information is requested os: windows Windows platform
Projects
None yet
Development

No branches or pull requests

5 participants