Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 409644

Summary: Editor does not detect changes to a file and refresh the view
Product: [ECD] Orion Reporter: Chris McGee <cbmcgee>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 3.0   
Target Milestone: 3.0 RC2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris McGee CLA 2013-05-31 21:33:05 EDT
Note that I am currently using a custom server and the problem may be in the server and not the Orion client. Here is what I have observed.

If I make a change to a file in a separate browser tab (e.g. an Orion shell command) or directly on the filesystem and I switch back to the editor tab it does not detect the fact that the file has changed forcing a refresh of the editor with the latest contents.

Every time I switch back to the Orion editor a file service call is made and the file metadata is returned (including the modstamp). It seems that everything is in place to detect a stale editor and refresh it.
Comment 1 Mark Macdonald CLA 2013-05-31 21:50:05 EDT
Orion 3.0M2 has an Auto Load feature in the editor. It is now running on orionhub.org, so you can test it out there.

See here for details: http://planetorion.org/news/2013/05/orion-3-0-m2-new-and-noteworthy/#autosave

The Autoload/Autosve logic is purely client side, so it should just work with any filesystem implementation.