-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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: Not a folder error when opening recycle bin from shortcut #15083
Comments
Thanks for the report, have you tried reinstalling Files? |
Yes I tried like 3 or 4 times both stable and preview but it didn't work. Almost all my settings same with standart so I didn't exported them. But I remember I just change preview to acrylic and "set files for default file manager" to on. |
What's shown in the path bar? |
Shell:RecycleBinFolder and Shell:MyComputerFolder this two |
Same problem here. |
2 weeks later still no progress. That's sad. |
There still hasn't been a way to constantly reproduce this, Only you and T-i-a-7 have reported it. Unfortunately there no error in the log to go off either. |
I'm using kaspersky as a antivirus. Can it cause to problem? @T-i-a-7 are you using same? |
@ElCunq @Josh65-2201 No, I'm not using it so that is not the problem. |
I am seeing this issue on one computer, but not the other, although I could've sworn it used to be on both. The currently affected computer has a largely filled Recycle Bin and the one no longer having this issue is currently empty. Hope this is relevant. I should've searched this issue sooner to give my feedback. |
Does reinstalling Files on the one showing the dialog fix it? |
Nope it didn't fix it. Actually it made no help. I thought it'll make some fixes but none. 🥲 |
Thanks for the feedback I hope it'll help to solve |
Hello, I have the same issue here. Using the "Reinitialize" button from the "Apps & Features" >> "advanced options" control panel "solved" it tho. |
I'm having the same issue, but not much in the debug log with the exception of the following:
Afterwards, the "Recycle Bin" shows as "Shell:RecycleBinFolder" in the Pinned file tree. |
I had to reinstall windows some other problems and it didn't happen again but İ'm scared of it to repeat. I hope it'll be solved soon |
Yeah, I actually just reinstalled Win 11 a week ago. |
@ElCunq Let me know what makes you think so? |
Thank for you all five people reporting this issue and waiting it to be fixed with great patience. While Files devs have never been able to reproduce this, what I can tell is enumeration goes wrong without exception but with an unknown error when converting string path (‘Shell:RecycleBinFolder’). I’m pretty sure this dialog with humanized error code is used only in this place in single method for enumerating inner children: Files/src/Files.App/Data/Models/ItemViewModel.cs Line 1657 in 31d6fee
This error message is actually ERROR_INVALID_DRIVE error from HResult. ‘NotAFolder’ message isn’t appropriate at all. So I will log to know until next preview build (also next stable is coming soon v3.5).
@yaira2 @hishitetsu fyi let me know it’d make us easy to investigate. When preview build with this modification published, I’d like you all to paste log here. |
Is there any possibility of a timeout? Files/src/Files.App/Data/Models/ItemViewModel.cs Line 1616 in 31d6fee
|
Yes, it also does the same thing by changing the language in Files' settings |
The same problem happened to me. Unfortunately, I couldn't find a way to reproduce it stably. But maybe you could try to modify the "Startup Settings"? |
For me, this problem occurred after I modified the "Startup Settings", and I can reproduce it stably |
What did you set your settings to? |
OK. I was able to reproduce the problem this way yesterday (and it still worked after reinstalling Files), but it doesn't work today. This is a really weird problem. |
The only thing that is certain at the moment is that reinstalling Files can temporarily solve this problem, but you never know when it will happen again for what reason. |
It's amazing. The problem just went away. I didn't do anything, but it just got better. |
This problem still exists in the Files 3.7.7.0, but strangely, after reinstalling the Windows system, the problem of this drive popping up still exists. I can't determine where the problem is, but I can confirm that it is most likely not the problem of Files. I have used Windows To Go to test multiple computers, and Files are all working normally, without exception. If you use the Win + E shortcut to open the home page of Files, not the drive page. When you open this computer again, Recycle Bin, Network, etc., the folder with the Shell pin can be used normally. This is the strange problem. Of course, the system I tested is: Windows 11 Professional Workstation Edition 23H2 Build 22631.3737 The version of Files is: Files 3.7.7.0 |
The problem arises when, after reinstalling Files, if you disable the background permissions for Files and then perform a cold start, it still shows a NotAFolder error. This issue cannot be located in the logs, which is quite strange and seems to be a problem with the Windows system. |
This is merely a temporary disappearance of the issue, not a resolution. You never know how or when this problem will reoccur. |
I know. But it's really amazing, isn't it? We can't locate the problem, or even reproduce it stably. |
This happens to me intermittently. I noticed it happen again recently. Don't know how to recreate it, maybe related to sleep? It was working before I made my desktop sleep then after a few hours when I wake my desktop again its back to being Shell:RecycleBinFolder I'm on Windows 11 Pro 24H2 |
I also experienced the same problem on Windows 11 Pro 24H2 (Files v3.9.1.0).
|
I have my Files setup as
This happens to me when the App is left running for a while. I have quit it on the tray then re-open to fix the issue. |
I recently added a Bug report on this but didn't realize one was already opened - #16980 I closed out the Files app from the system tray but no luck - same result.
Uninstalled, rebooted, and installed again but no dice. Running Files version 3.9.3.0, Windows 11 Enterprise 24H2 LTSC (26100.3476) Using Windows Defender (Default Security app in Windows) - no other antivirus. |
|
It's really weird, it works fine on some systems, but some systems are problematic in the first place, and I think it's more likely that it's a problem with Files itself, which doesn't occur at all in older versions of Files. |
Well not to cause a alarm but I seen this happen once or twice for "This PC". When I would click on the Explorer from the start menu and it opens in the Files app. Hasn't happened yet after I closed the Files app completely and tried again. |
Also, I just tried it on my other PC that is on Windows 11 Pro for Workstations (26100.3476) that has Files version 3.9.1.0 installed. Same error message. At first I was able to open and see inside the Recycle Bin folder and I emptied the contents within the Files app. The folders were gone but for some reason The trash bin is still full. After that is when the same error message comes up "Drive Unplugged - NotAFolder" |
Important
Current workaround - Backup your settings in Files settings > Advanced > Export, then reinstall Files.
Description
I can't use the app after the last updates. It says "NotAFolder" when I try to open trash bin or ThisPC.

Steps To Reproduce
Restart computer.
Try to open trashbin or ThisPC.
Get the error.
Requirements
Normally it should open the files but it doesn't open. I can solve it using preview version with it but it's temporary.
Files Version
3.3.0.0
Windows Version
10.0.22631.3296
Log File
debug.log
The text was updated successfully, but these errors were encountered: