Describe the bug
Under GNOME, with the nautilus-nextcloud extension, it is possible to open the Text app directly from the local file manager. The Text app locks the file, which the desktop client turns read-only locally, but when the browser window is closed, the lock is not released, and the local file remains read-only.
The lock is indefinite, and there is no way to unlock the file, except maybe through the web-interface, but this workflow doesn't use the web-interface.
To Reproduce
- Open a synced folder in GNOME Files
- Right-click on a markdown file, select Nextcloud, and Open in browser.
- Make a change to the file in the new browser window.
- The local file now turns read-only.
- Close the browser windows.
- The local file remains read-only.
Expected behaviour
The file should be unlocked when the editor is closed, and the local file should return to its previous permissions.
Server details:
- Nextcloud version: 34.0.0
- PHP Version: 8.4.21
- Database: MariaDB 11.8.6
Client details:
- OS: Debian Trixie
- Browser: Firefox
- Browser version: 140.12.0esr
- Device: various laptops
Logs
Nextcloud log (data/nextcloud.log)
There are messages like these:
[notes] Error: Controller failed with OCP\Lock\ManuallyLockedException
PUT /index.php/apps/notes/api/v1/notes/1044138?
from 192.168.1.243 by historywalks at 13 giu 2026, 08:59:21
[webdav] Error: Exception thrown: Sabre\DAV\Exception\Locked
PUT /remote.php/dav/files/historywalks/Notes/Early%20history/Refugees.md
from 192.168.100.10 by historywalks at 12 giu 2026, 13:22:07
Describe the bug
Under GNOME, with the nautilus-nextcloud extension, it is possible to open the Text app directly from the local file manager. The Text app locks the file, which the desktop client turns read-only locally, but when the browser window is closed, the lock is not released, and the local file remains read-only.
The lock is indefinite, and there is no way to unlock the file, except maybe through the web-interface, but this workflow doesn't use the web-interface.
To Reproduce
Expected behaviour
The file should be unlocked when the editor is closed, and the local file should return to its previous permissions.
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
There are messages like these: