Automatic File Locking only Working on Specific Filetypes
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
The desktop client only set locks automatically on a very limited range of file types.
---
**Scenario:**
User A opens an .odt and .docx file.
User A opens a .pdf, .dwg, or any other file
User B tries to open the same files as User A
**What happens:**
User B can see a lock icon next to the .odt and .docx files, and is presented with a banner to indicate that the file is read only when they attempt to open it. The other files do not have a lock icon, and User B can edit and overwrite the data, leading to sync conflicts.
**What should happen / is expected:**
User B should see a lock icon next to all files that are currently in use, and should not be able to edit files that are in use.
**System Configuration**
NextCloud Server Version: 28.0.3 (AIO, Docker)
NextCloud Client Version: 3.12.2
Operating System: Windows 11 23H2
Notable Apps: Files Lock, Group Folders
Contributor guide
Research direction
Start by reproducing the scenario in the desktop client with .odt, .docx, .pdf, and .dwg files while checking the lock icon and read-only banner. Done means every file currently open by User A is visibly locked for User B and cannot be edited or overwritten.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100