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

update file list after closing Nextcloud Office document #4391

Open
alexanderdd opened this issue Dec 18, 2024 · 2 comments
Open

update file list after closing Nextcloud Office document #4391

alexanderdd opened this issue Dec 18, 2024 · 2 comments
Labels
1. to develop Waiting for a developer bug Something isn't working

Comments

@alexanderdd
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

  1. open an office file in Nextcloud Office (Collabora) web interface
  2. click export to pdf
  3. close office file
  4. why is my pdf not shown, I just exported it!
  5. reload page
  6. ahh, there is my pdf!

Describe the solution you'd like
pdf should be visible right after I close the office document, so: update file list after closing Nextcloud Office document

Maybe also a more general solution: immediately push file creation/deletion to all existing open browser tabs/windows (always, not only when closing an office file)

@alexanderdd alexanderdd added 0. Needs triage enhancement New feature or request labels Dec 18, 2024
@susnux susnux transferred this issue from nextcloud/server Jan 17, 2025
@susnux susnux added bug Something isn't working and removed enhancement New feature or request labels Jan 17, 2025
@susnux
Copy link

susnux commented Jan 17, 2025

Context:
When a file is exported in the same directory the app that created that file should emit the correct event through the event bus to let the files app know about it (files:node:created).

@juliusknorr
Copy link
Member

In the past we reloaded the files list but also dropped that due to performance impact.

The export is happening asynchronously in the background and currently our frontend code base is not aware when the export or save as will be finished.

Probably something to talk about if Collabora can notify us through a post message.

I'd also be curious if a more generic way of handling this could make sense. One thing I could imagine is that notify_push could propagate the new file and the files app could add it directly (related nextcloud/desktop#6430) Of course that is a different level of complexity.

@juliusknorr juliusknorr added 1. to develop Waiting for a developer and removed 0. Needs triage labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Waiting for a developer bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants