#214178: CSL navigator does not refresh
Svata Dedic <[email protected]> Fri, 15 Jun 2012 09:17:24 +0200
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Bug description: http://netbeans.org/bugzilla/show_bug.cgi?id=214178 The Navigator does not refresh when the file content is updated. The update tries to exclude such children, which were never initialized. At the same time, the update must not exclude nodes, which are being initialized even for the first time, and during asynchronous init, the update request comes. I forgot to cover the case when the nodes are initialized immediately, leaving 'processing' token at 0 (initialized == true && processing == 0). Impact assesment: The navigator is unusable for PHP, JS, CSS Risk assesment: the fix allows more nodes to be processed, does not change the the update procedure itself. If the condition is (still) broken, we face "just" performance decrease to the level of NB 7.1, which updated the whole node tree Reviewed by: Petr Pisl ([email protected]) Changeset: http://hg.netbeans.org/jet-main/rev/88568e34c779 Thanks for review. -Svata