files_lock icon indicating copy to clipboard operation
files_lock copied to clipboard

Research on automatic locking with office temp files

Open juliusknorr opened this issue 3 years ago • 2 comments

There are some interesting bits in the sea file implementation about automatically detecting lock files from msoffice/libreoffice

https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3854-L3855

https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3515-L3557

Might be worth to have another look if we can either detect that in the clients and lock the file automatically, or sync the lock files and handle that on the server (that however is currently on the list of ignored files in the client)

juliusknorr avatar May 12 '22 09:05 juliusknorr

@juliushaertl I think we implement everything, so it can be closed?

tobiasKaminsky avatar Jul 06 '22 12:07 tobiasKaminsky

No this one is still a valid enhancement, as currently the automatic webdav locking is only performed if you use the windows webdav network drive option. With our clients you still need to manually lock before opening office/libreoffice.

juliusknorr avatar Jul 06 '22 17:07 juliusknorr