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: | [40cat] Nodes collapsed when changing properties - SourcesHelper must fire minimal changes | ||
---|---|---|---|
Product: | projects | Reporter: | Milan Kubec <mkubec> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | lleland |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535, 47910 |
Description
Milan Kubec
2004-08-19 11:26:13 UTC
seems like dup of issue 47402 Unfortuanately it is not. It looks like if one closes the project customizer using OK button. The whole project view closes. I don't know why but I will look at it. Maybe excess firing from SourcesHelper? If so, reassign to me for evaluation. I suspect the LogicalViewChildren to get some events from SourcesHeleper even after the project is closed (it of course does not matter until someone deleted all the files). When the files are deleted the SourceHeleper fires a change and LogicalViewChildren try to react. The children would have to know that the project was closed (GC may be too late). Listen to OpenProjects in projectuiapi? Opps, ignore the last comment it was about another issue. Hmm, Jesse you asked for it. It seems that the Sources implementation fires StateChanged even if no change was made to it (which forces the chilren to set keys). It is enogh to change something like Compress Jar file and pres OK in the project customizer to trigger that event. OK, I will try to avoid firing changes unless they are necessary - just compare old to new state. *** Issue 47782 has been marked as a duplicate of this issue. *** Has a performance impact too, apparently. *** Issue 48054 has been marked as a duplicate of this issue. *** Marked for the NetCat40 process. *** Issue 48884 has been marked as a duplicate of this issue. *** committed * Up-To-Date 1.9 ant/project/src/org/netbeans/spi/project/support/ant/SourcesHelper.java committed * Up-To-Date 1.7 ant/project/test/unit/src/org/netbeans/spi/project/support/ant/SourcesHelperTest.java Verified in custom 20041001. *** Issue 50531 has been marked as a duplicate of this issue. *** |