This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Remote file changed outside IDE is not updated in the editor | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Remote | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 234183 | ||
Bug Blocks: | |||
Attachments: |
proposed fix
However it needs the following fix in NbEditorUI |
Description
Vladimir Kvashin
2013-02-19 17:11:59 UTC
I've hust pushed a workaround into cnd-main http://hg.netbeans.org/cnd-main/rev/ce24ce72c7a3 With additional option -J-Dcnd.remote.refresh.plain.file=true this bug does not take place. Switching this option ON by default may cause noticeable slowdown on slow connections, that's why it's OFF by default. Created attachment 138411 [details]
proposed fix
Created attachment 138412 [details]
However it needs the following fix in NbEditorUI
I agree with NbEditorUI patch integration. Its main purpose is to avoid extra updates for frequent focus switches from the IDE and back in environments with very slow file updates? i.e. the objectsToRefresh.add(fo) would return false in these cases, right? The NbEditorUI fix has been applied: http://hg.netbeans.org/jet-main/rev/53daecfc9312 This issue is fixed: http://hg.netbeans.org/cnd-main/rev/e60601420a5f Additinal fix http://hg.netbeans.org/cnd-main/rev/beae8c7b529a (please disregard wrong commit comment, the fix is for *this* issue!) |