server
server copied to clipboard
Shared folders/files icons not showing up instantly, need to reload the page
Nextcloud version: 21.0.1 Latest Stable Operating system and version: Oracle Linux 7.9 Apache or nginx version: Apache 2.4.6 PHP version: 7.4
The issue you are facing: Every time I share a folder or a file (everything else works perfectly), the icon of the folder and the icons showing that the file/folder are not showing up when I finish sharing it. If I reload the page, they show up normally. Is this a background job that cron runs too? My cron is running every 5 minutes, configured according to the NC's best practices manual.
Before you say that refreshing the page isn't a big trouble: I have a nextcloud server, which will be in production soon integrated with my AD, containing more than 1300 users. I have knowledge that refreshing the page is a simple task and it is not a big trouble the need of having to do so. But the problem here, is for the lay users that will not understand if the files/folders were actually shared or not.
Is this the first time you've seen this error?: N
Steps to replicate it:
- Go to files;
- Try sharing a folder/file;
- If the icons doesn't appear, try refreshing the page.
Any suggestions will be very appreciated.
Thank you guys.
I tried to open this case inside help.nextcloud.com but did not received any help, so I'm trying github now...
Thank you guys!
Here's the link for the community forum: https://help.nextcloud.com/t/shared-folders-files-icons-not-showing-up-instantly-need-to-reload-the-page/113802
Same problem with NC 20.0.9.1 as managed Nextcloud (nginx) at hosting.de
Can you please send screenshots to clarify what you are describing in this issue? Thank you!
-
Go to a folder with a file in it
-
Click on the file and create a share link
-
Nothing has changed in the file list
-
Reload the page. Now the share status is shown
The status should update immediately, not only after reload.
Now that I look at the screenshots, the same problem seems to exist for the file thumbnail in the list.
I am not sure if this was ever implemented so I interpret this as a feature request.
cc @nextcloud/server for input on this.
Thank you very much @szaimen
At the time I created this ticket, I didn't realized that it was actually a feature request.
Thank you again, all the best!
this used to work, it probably broke when the sidebar panels got ported to Vue
the challenge is to have the Vue components trigger events to tell the filelist to refresh the share icons there used to be an event called "sharedChanged" in apps/files_sharing/src/share.js but I couldn't find quickly when it got removed
Calendar Nextcloud addon is using Vue now and calendar updates its icon in realtime when you click share. Maybe this can be replicated for Files as well. This should be bumped up on priority Anyhow I'm really hoping for a fix for the new Nextcloud 25 but we'll wait and see
I'm really hoping this finally gets fixed for Nextcloud 26 but we'll see
@johnnyq until the files app is done being rewritten, no it will not be fixed (not with 26 at least)
I think this was fixed with https://github.com/nextcloud/server/pull/38259?
@szaimen This is still not fixed i tried the latest 27.0 release
Steps to reproduce
- Share a folder
- Notice the folder doesn't update right away with a share icon
- Refresh page manually now the folder has a share icon next to it
- now un-share the folder notice the share icon does not go away
- refresh page share icon goes away
Yeah the backport to stable27 is not merged yet: https://github.com/nextcloud/server/pull/38420
@szaimen oh that is super fantastic!! Thanks for pointing that out, i'm looking forward to the next update for sure.
I wanted to confirm with the latest 26.03 update the issue is fixed. I'm super Thankful to the Nextcloud team. Great Job!!
Great! Thanks for verifying! :)