files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

Check for background changes and update open file accordingly

Open jancborchardt opened this issue 9 years ago • 5 comments

In Atom for example, changing the file with another editor (or when ownCloud syncs an update to it) makes the changes immediately reflect in the file you have open.

This is the best way to prevent any conflicts and also a very direct way to give feedback of change.

@tomneedham

jancborchardt avatar Jan 01 '16 22:01 jancborchardt

@PVince81 Can we ping the webdav endpoint for this file and get the (potentially updated) mtime, or do we need to switch to etags?

tomneedham avatar Jan 20 '16 18:01 tomneedham

@tomneedham you can do a PROPFIND and only query the etag property.

PVince81 avatar Jan 21 '16 08:01 PVince81

Seems the best solution. Would involve changing the editor over to etags which should not be too difficult.

tomneedham avatar Jan 21 '16 10:01 tomneedham

@PVince81 Your call on the milestone for this one?

tomneedham avatar Jan 21 '16 10:01 tomneedham

Backlog for now, unless someone has time to look into this for 9.2.

PVince81 avatar Jul 12 '16 09:07 PVince81