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.
Analysis of long time of the first invocation of CTRL+SHIFT+8 on a file open in editor revealed that each DataObject has a structure of recursively composed DataFilters attached to it. Thus when accept method is called to find out if the node should be displayed or not, all of these filters are called. The number of these attached filters is equal to the number of directories above the DataObject and all the filters are equal in functionality (only different instances of VersioningDataFolder.FileDataFilter).
I suggest the attached patch. It creates one common instance of VersioningDataFolder.FileDataFilter used for filtering all nodes of VCS filesystem and it assures in DataFolder class that two references to one filter instance are not joined into a composite filter.
Created attachment 16181 [details] Suggested patch
The patch looks O.K. It's better anyway to have just one instance of the data filter.
Checking in DataFolder.java; /cvs/openide/loaders/src/org/openide/loaders/DataFolder.java,v <-- DataFolder.java new revision: 1.29; previous revision: 1.28 done Checking in VersioningDataFolder.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/VersioningDataFolder.java,v <-- VersioningDataFolder.java new revision: 1.7; previous revision: 1.6 done Checking in VersioningDataSystem.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/VersioningDataSystem.java,v <-- VersioningDataSystem.java new revision: 1.12; previous revision: 1.11 done