PreviousNextTracker indexSee it online !

(189/213) 3599206 - No prompt when open files are changed on disk (sftp)

The option to be prompted if open files are changed on disk does not work when editing a file which has been loaded via sftp.

To reproduce:

Go to Utilities -> Buffer Options and set '"If open files are changed on disk" to "prompt"
Open a file via sftp
Edit same file via another editor (eg, vim)

Expected behaviour: jEdit should prompt that the file has changed.
Actual behaviour: No prompt is displayed.

jEdit 4.5.2 Server mode using Java 1.7.0_09

For comparison, the prompt is displayed correctly if the file being edited is accessed locally on the same filesystem.

Submitted Anonymous - 2013-01-02 - 12:49:46z Assigned nobody
Priority 5 Category virtual file systems
Status Open Group None
Resolution None Visibility No

Comments

2013-02-12 - 07:04:27z
ezust
I somehow doubt it is possible to implement this, since there is no network connection between you and the server while you are editing a file over sftp. It only connects when you try to save or reload. Not periodically.
This also might be a limitation of the FTP VFS or the SFTP protocol.

Attachments