Bug: Folder contents don't show when item is tagged
Description
I created 4 tags to identify some files. I assigned just 1 tag to test. I closed Files, but when I open it, seems a little hang, shows no file tagged in Home, and when I try to open the selected tag, it keeps searching.
Steps To Reproduce
- Created "Ver después" tag.
- Close Files
- Open Files, go to Home, and see nothing in "Ver después" tag field.
Requirements
- Show files tagged as "Ver después"
Files Version
3.4.0.0
Windows Version
10.0.22631.3527
Log File
Thank you for your feedback, can you make sure the item with the tag is indexed by Windows? You can check this from the settings app on Windows.
So, Indexing should be customized for this feature to work? I have files on internal and external drives. In OneDrive too. When I reopen Files, sometimes it shows the tagged files, and sometimes not. And keeps my PC unstable! My PC have 16GB RAM, it's a powerful i7 laptop.
So, Indexing shoul be activated for this feature to work
Correct, we don't actually store a database of tagged files (we might change this in the future) so we rely on the Windows search index to locate tagged items.
In the folder locations that actually contain the tags, we don't need the search index since we already have access to the items and can just detect the properties.
The problem is, a few minutes ago, tagged files showed right. But after restarting Files again, TAGS don't work anymore. It's a random behavior. :(
If you open the folder with tags files/folders do they show in the details layout column? Seems like the same issue as #15214.
In this precise moment, not, but 30 minutes ago, yes. Seems like it's random.
Did Files support 3rd party search engines, like Everything (https://www.voidtools.com/support/everything/)
Files doesn't have any integration with other search engine's but it's been planned.
Hi Josh. I think this problem is HUGE, because, now, when I try to pen the tagged folders, the items dissapear! I shows all files inside the taged folder for 1 second, and after that, keep dissapearing from view!
It should show all photos in this folder, like this:
The tags issue might be coming from OneDrive as cloud drive don't work to well with the tags system and usually remove them when syncing. As for the contents not showing are they there in Windows File Explorer?
- I tagged one folder in OneDrive, and the files inside keep dissapearing (from Files app).
- I tagged 2 files in different external SDD and HDD (both indexed) and files dissapearing in Files App. The files are right there when using Windows File Explorer. Please see the screenshot:
The problem with this particular file, is that now I can't de-tag it... Can't remove the TAG because it dissapears from view - what a real problem here. 🫥 In other tagged folder, I can't remove the TAG either... No way to remove TAGS... Maybe deleteing the tags will work?
FYI, I deleted all custom TAGS, and now, the files show perfect in Files App. But, keeps showing a greyed-out "unknow" tag, like this.
So, I guess TAGS in a not-so-working feature. I really want to use Files as my main file explorer, because it's very useful and nice, but I need this to be fixed, so I can use all the features.
- I tagged 2 files in different external SDD and HDD (both indexed)
Is your external device formatted with NTFS or ReFS? Tags won't work on other file systems.
Yes, it is:
The tags issue might be coming from OneDrive as cloud drive don't work to well with the tags system and usually remove them when syncing. As for the contents not showing are they there in Windows File Explorer?
No, it does not removed the tag after sync, see:
I found what it could be a solution. It seems working now. I have change settings in Windows Search, like this:
And it seems to work faster, and the tags now are fully usable. However, Files don't show updated widgets on Home tab. To correctly see the files/tags you've added, Files need to be restarted, and after that, it shows the files inside widgets:
Excellent!
And it seems to work faster, and the tags now are fully usable. However, Files don't show updated widgets on Home tab. To correctly see the files/tags you've added, Files need to be restarted, and after that, it shows the files inside widgets:
This is a different bug that's high on our priority list to resolve. Merging with #6182.
Hi! Unfortunally, the problem is still present. I left my laptop powered off. Now, I turned it on, opened Files, and all it's a mess again. When I select a tag, it stucks "loading", and now, when I try to change view on a folder (to see thumbnails), files keep dissapearing. So, I think Files have serious bugs... it's kinda unusable.
Is this in the tags view that they are disappearing, or is this a regular folder with tagged items?
At first, it only happened on tagged folders, but sometimes, it happens on not tagged folder -nor tagged file in these folders.
BTW I'm using Files, and I notice this behavior. Sometimes (when PC is switched on), and I open Files, the tags are vanished. But, if I open another instance of the app, it works ok (it shows tags normally).
I guess it have to do with a kind of delay in Windows Search. It's like, when Files is launched, Windows Search doesn't work at firrst... But, if you open another instance, seems like Windows Search -in some way, start to work and tags loads correctly.
Maybe this bug can be fixed adding some king of activator of Windows Search each time Files is launched.
It can be the system is running out of memory for Files, you can try turning off the option to leave Files in the background to see if that helps.
That it strange, given that my laptop it's a i7, 16GB RAM + GeForce 6GB, it's a powerful system, and I disabled Files to run in background.
Maybe it's better to have it running on background, but it'll be there after a restart?
We haven't exactly figured out why it's only an issue on some OneDrive accounts, but some users have had success with tagging cloud items while others have encountered the issue reported here. We're working to address this and will be tracking our progress in #15272.