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] Sidebar can duplicate the same folder twice #1991

Open
yichenchong opened this issue Sep 8, 2024 · 0 comments
Open

[Bug] Sidebar can duplicate the same folder twice #1991

yichenchong opened this issue Sep 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yichenchong
Copy link

yichenchong commented Sep 8, 2024

Describe the bug

A folder can appear duplicated on the sidebar. Problem persists upon restart.

To Reproduce

  1. Create a "Shared" folder in the "DATA" directory. It should appear in the sidebar. (I've also had instances where these folders don't appear in the sidebar, but I named mine "transfer" if that is more reproducible).
  2. Go to the shell and delete the folder there with "rm"
  3. Go back to Files and click the folder. It should give a "no files found error".
  4. Create a folder in the same location.
  5. Now you have two of the same folder in the sidebar, both of which light up when you click it.

Expected behavior

Either a) the folder in the sidebar never disappearing, but just reconnects to the new folder when created or b) the folder in the sidebar disappears when it is deleted. Would also be nice to be able to add or remove folders from the sidebar, and then have new folders in the sidebar only appear when added, instead of tracking the contents of "DATA".

Screenshots

image

Desktop (please complete the following information):

 - Client OS: Windows 11
 - Browser: Brave
 - CasaOS OS: Debian bullseye
 - CasaOS Version: v0.4.11

System Time

               Local time: Sun 2024-09-08 13:24:39 BST
           Universal time: Sun 2024-09-08 12:24:39 UTC
                 RTC time: Sun 2024-09-08 12:24:39
                Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Not really relevant: all logs no errors

Additional context

N/A

@yichenchong yichenchong added the bug Something isn't working label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant