nextcloud / nextcloud/richdocuments
Widgets in Talk don't unlock file after leaving chat
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
When a file is loaded in a widget richdocuments acquire the lock, but it does not release it on close (close meaning navigating away).
The lock should be released when the editing session ends
When a file is shared within a talk chat the widget function loads the file automatically. Then the user "joins" NC Office and the file gets locked. Unfortunately it doesn't get unlocked when the chat is left. The file is then still locked by "Nextcloud Office"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the richdocuments widget loads a file shared in a Talk chat and how leaving the chat ends the editing session. Reproduce the issue by joining Nextcloud Office, leaving the chat, and checking whether the file remains locked; done means the lock is released when navigation away closes the session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100