nextcloud / nextcloud/richdocuments

Widgets in Talk don't unlock file after leaving chat

Open
#3,901 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: share link feature: wopi host integration
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.