⚠️ Before posting ⚠️
Steps to reproduce
When opening an editable file (markdown, rich document) via the in-app WebView editor (TextEditorWebView / RichDocumentsEditorWebView), the server's editor app (Nextcloud Text, Collabora) sets a COLLABORATIVE lock on the file. When the user closes the editor (back button, swipe away, or JavaScript close() call), EditorWebView.closeView() and ExternalSiteWebView.onDestroy() only call getWebView().destroy() + finish() — no API call is made to tell the server that editing finished.
Steps to reproduce:
- Ensure server has
files_locking and text (or richdocuments) apps installed
- Open a
.md file that is not downloaded via the Android app
- Observe the
COLLABORATIVE lock being set on the server
- Close the WebView editor (back button or via the close button)
- The lock persists on the server
Expected behaviour
When the editor WebView is closed, the app should signal the server to release the COLLABORATIVE lock.
Actual behaviour
The COLLABORATIVE lock remains on the server indefinitely (until server-side timeout), blocking other users from editing.
Android version
15
Device brand and model
Fairphone 5
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
34.0.1
Nextcloud server version
34.0.1
Using a reverse proxy?
No
Android logs
No response
Server error logs
Additional information
No response
Steps to reproduce
When opening an editable file (markdown, rich document) via the in-app WebView editor (
TextEditorWebView/RichDocumentsEditorWebView), the server's editor app (Nextcloud Text, Collabora) sets aCOLLABORATIVElock on the file. When the user closes the editor (back button, swipe away, or JavaScriptclose()call),EditorWebView.closeView()andExternalSiteWebView.onDestroy()only callgetWebView().destroy()+finish()— no API call is made to tell the server that editing finished.Steps to reproduce:
files_lockingandtext(orrichdocuments) apps installed.mdfile that is not downloaded via the Android appCOLLABORATIVElock being set on the serverExpected behaviour
When the editor WebView is closed, the app should signal the server to release the
COLLABORATIVElock.Actual behaviour
The
COLLABORATIVElock remains on the server indefinitely (until server-side timeout), blocking other users from editing.Android version
15
Device brand and model
Fairphone 5
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
34.0.1
Nextcloud server version
34.0.1
Using a reverse proxy?
No
Android logs
No response
Server error logs
Additional information
No response