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: Tags/Drive widget doesn't update when network drive is connected/disconnected #13502

Closed
StachLeee opened this issue Oct 11, 2023 · 8 comments
Labels
area - tags Features or bug reports for Tags bug Something isn't working 👀

Comments

@StachLeee
Copy link

StachLeee commented Oct 11, 2023

Description

When a network drive is can't be found (because of an network disconnect for example), on the startpage all tagged files and folders located on this drive disappear. Even if the drive can be found again, the tagged items remain gone. You have to open each file path individually to make the items reappear.

The behaviour should be such that the items are still displayed. Either an error message appears when trying to open them or it is graphically displayed that they are not available or they should should appear as soon as the network drive is available again.

Steps To Reproduce

Tags-Widget on the Homescreen needs to be activated.

  1. Connect a Network drive
  2. tag some files or folders on this drive
  3. Make it so that the network drive cannot be found (for example disconnect the PC from network)
  4. The network drive can't be found. After the corresponding error message shows up all tagged files and folder disappear from the startpage.
  5. Reconnect the PC to the network --> network drive is available again but tagged files and folders remain gone on the startpage

Requirements

  • tagged files and folders should remain displayed when the network drive cannot be found
    OR
    (this is by design)
  • tagged files and folders should appear as soon as the network drive is available again
  • tagged items should also be removed from the widget if a the drive is disconnected

Files Version

2.5.21.0

Windows Version

10.0.19044.3448

Log File

debug.log

@StachLeee StachLeee added the bug Something isn't working 👀 label Oct 11, 2023
@Josh65-2201
Copy link
Member

Thanks for the report, Having the tags displayed when the drive is disconnected isn't possible as Files doesn't know there tags there as it can't search it.
As for searching for tags when the drive connects is possible, it would also take a lot of resources searching the entire drive.

@yaira2
Copy link
Member

yaira2 commented Oct 15, 2023

Reconnect the PC to the network --> network drive is available again but tagged files and folders remain gone on the startpage

Does opening a new tab display the tags?

@StachLeee
Copy link
Author

Does opening a new tab display the tags?

No, that does not help. Neither does closing and opening the app.

@StachLeee
Copy link
Author

As for searching for tags when the drive connects is possible, it would also take a lot of resources searching the entire drive.

Could Files simply save "dummies" of the tagged files and folders (with their path) from the last session without searching for them directly at startup?

@yaira2
Copy link
Member

yaira2 commented Oct 17, 2023

I meant, does opening a new tab help after reconnecting the drive?

@StachLeee
Copy link
Author

No, just opening a new tab does not help (after reconnection). You need to

  1. open each folder that contains tagged objects (also after reconnection) and after that
  2. open the startpage again / open new tab and the objects will reappear

@yaira2
Copy link
Member

yaira2 commented Oct 17, 2023

Thanks for the clarification, this is indeed a bug. The expected behavior is for the tags widget to update when a drive is connected/disconnected.

@yaira2 yaira2 changed the title Tags disappear when network drive ist disconnected Bug: Tags widget doesn't update when network drive is connected/disconnected Oct 17, 2023
@yaira2 yaira2 added the area - tags Features or bug reports for Tags label Oct 27, 2023
@yaira2 yaira2 changed the title Bug: Tags widget doesn't update when network drive is connected/disconnected Bug: Tags/Drive widget doesn't update when network drive is connected/disconnected Nov 7, 2023
@yaira2
Copy link
Member

yaira2 commented Jun 4, 2024

We're going to merge this with #6182 where we will continue to track this bug.

@yaira2 yaira2 closed this as completed Jun 4, 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 bug Something isn't working 👀
Projects
Archived in project
Development

No branches or pull requests

3 participants