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.
Each time editor component gains focus, NbEditorUI pushes a refresh task into request processor. So if this task takes long and user switches back and forth fast, then requests to refresh one and the same file stay in queue, so file is refreshed many times. Expected behaviour: don't enqueue refresh for the same file. This does not allow me to fix P2 issue #226361.
Created attachment 138495 [details] Proposed fix
Integrated. Vladimir, thanks for the fix. http://hg.netbeans.org/jet-main/rev/53daecfc9312
Integrated into 'main-silver', will be available in build *201308141142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/53daecfc9312 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #234183 - NbEditorUI refreshes file many times in the case of slow file system.