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

Space used not updating untill site refreshed #3218

Open
StanislavJochman opened this issue May 10, 2024 · 4 comments
Open

Space used not updating untill site refreshed #3218

StanislavJochman opened this issue May 10, 2024 · 4 comments

Comments

@StanislavJochman
Copy link

Description
If you have 2 drives in filebrowser and go in between them using GUI the size of how much space is left stays the same. You need to manually refresh the site using F5 to get free space in the current drive.

@pam-param-pam
Copy link

pam-param-pam commented May 14, 2024

Well yes, no changes will be detected if done in another tab. You can test it with changing file names or creating folders. It's how this project was created. To solve this "issue" websockets would need to be added. You can ask maintainers for this feature, it's not really a bug in my opinion.

@StanislavJochman
Copy link
Author

@pam-param-pam I think you do not fully understand me. When I open filebrowser.com/files (example) it shows the size of root disk. I have 2 disks mapped ( Data and Media ). When from
filebrowser.com/files I go to media or data it still shows size of root disk. However when I press F5 in same tab it suddenly starts displaying size of Data/Media.
Does that make sense? Or should I send you a video?

@pam-param-pam
Copy link

@StanislavJochman im not quite sure if i understand correctly. If you could send a viceo, I'll try to dig into source code.

@Gh0stExp10it
Copy link

Same problem. If you have multiple mounted drives attached into the filebrowser container, it won't update the used space bar on the left. This worked in the past (last release) without any problems.

In this example I've refreshed the whole page and it now displays the USB-drive size. When I switch back to another drive it will be the same used space from the USB-drive and not auto update.
screenshot_filebrowser_used_space_20240522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants