DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

Create an empty lock file when the file is opened so that cloud drives can detect it and lock the file to the user editing it locally.

Open vagner-dias opened this issue 1 year ago • 6 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my idea.

Your idea.

Cloud services such as NextCloud, Google Drive, OneDrive, SeaFile, etc., have built-in mechanisms to detect "Office Lock files" (~$ Files) so that they can lock these files to the user who is editing them locally, to avoid conflicts.

The NextCloud version of OnlyOffice already works perfectly with file locking for web editing; however, the desktop version lacks this feature.

In short, the implementation would consist of creating an empty lock file (~$FileName.Extension) every time a file is opened in the desktop editor, and when the file is closed, this lock file would be deleted.

That way, these cloud drives would work better with OnlyOffice.

Regards.

vagner-dias avatar Nov 09 '23 12:11 vagner-dias