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

Bug: Folder contents don't show when item is tagged #15361

Closed
tbytetbyte opened this issue May 10, 2024 · 26 comments
Closed

Bug: Folder contents don't show when item is tagged #15361

tbytetbyte opened this issue May 10, 2024 · 26 comments
Labels
area - tags Features or bug reports for Tags needs - additional info Needs more information from the reporter needs - reproducing Issues unable to be reproduced by the dev team

Comments

@tbytetbyte
Copy link

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.

image

image

Steps To Reproduce

  1. Created "Ver después" tag.
  2. Close Files
  3. 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

debug.log

@tbytetbyte tbytetbyte added the bug label May 10, 2024
@yaira2
Copy link
Member

yaira2 commented May 10, 2024

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.

@yaira2 yaira2 added the needs - additional info Needs more information from the reporter label May 10, 2024
@tbytetbyte
Copy link
Author

tbytetbyte commented May 10, 2024

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.

@yaira2
Copy link
Member

yaira2 commented May 10, 2024

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.

@tbytetbyte
Copy link
Author

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. :(

@Josh65-2201
Copy link
Member

Josh65-2201 commented May 10, 2024

If you open the folder with tags files/folders do they show in the details layout column? Seems like the same issue as #15214.

@tbytetbyte
Copy link
Author

tbytetbyte commented May 10, 2024

In this precise moment, not, but 30 minutes ago, yes. Seems like it's random.
image
image

@tbytetbyte
Copy link
Author

Did Files support 3rd party search engines, like Everything (https://www.voidtools.com/support/everything/)

@Josh65-2201
Copy link
Member

Files doesn't have any integration with other search engine's but it's been planned.

@tbytetbyte
Copy link
Author

tbytetbyte commented May 10, 2024

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:

image

@tbytetbyte
Copy link
Author

image

@Josh65-2201
Copy link
Member

Josh65-2201 commented May 10, 2024

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?

@tbytetbyte
Copy link
Author

  • 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:

image

@tbytetbyte
Copy link
Author

tbytetbyte commented May 10, 2024

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?

@tbytetbyte
Copy link
Author

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.

image

@tbytetbyte
Copy link
Author

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.

@hez2010
Copy link
Member

hez2010 commented May 10, 2024

  • 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.

@tbytetbyte
Copy link
Author

Yes, it is:
image

@tbytetbyte
Copy link
Author

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

@tbytetbyte
Copy link
Author

I found what it could be a solution. It seems working now.
I have change settings in Windows Search, like this:

image

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:

image

@yaira2
Copy link
Member

yaira2 commented May 10, 2024

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.

@yaira2 yaira2 closed this as completed May 10, 2024
@tbytetbyte
Copy link
Author

tbytetbyte commented May 10, 2024

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.

@Josh65-2201 Josh65-2201 reopened this May 11, 2024
@Josh65-2201 Josh65-2201 added the needs - reproducing Issues unable to be reproduced by the dev team label May 11, 2024
@Josh65-2201 Josh65-2201 changed the title Tags don't work - Files hangs Bug: Folder contents don't show when item is tagged May 11, 2024
@yaira2
Copy link
Member

yaira2 commented May 12, 2024

Is this in the tags view that they are disappearing, or is this a regular folder with tagged items?

@tbytetbyte
Copy link
Author

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.

@yaira2
Copy link
Member

yaira2 commented May 13, 2024

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.

@tbytetbyte
Copy link
Author

tbytetbyte commented May 13, 2024

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?

@Josh65-2201 Josh65-2201 added the area - tags Features or bug reports for Tags label May 13, 2024
@yaira2
Copy link
Member

yaira2 commented Jun 25, 2024

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.

@yaira2 yaira2 closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area - tags Features or bug reports for Tags needs - additional info Needs more information from the reporter needs - reproducing Issues unable to be reproduced by the dev team
Projects
None yet
Development

No branches or pull requests

4 participants