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.
Description: [FFJ Build 010616 CE , Red Hat Linux 6.2 with JDK 1.3.1] Steps to reproduce: ------------------- 1) expand large XML document in Explorer (e.g REC-xml-19980210.xml) 2) open the document in TXT Editor 3) close the TXT Editor Evaluation: xxx@xxxx 2001-06-27 We place reparsing of document to AWT thread to avoid concurent tree modifications during result merging. A comment.
I believe it is caused by the same problem in org.openide.text.PositionRef$Manager and slow closing of .java file #11692 *** This issue has been marked as a duplicate of 11692 ***
I think, it is not only caused by #11692. When TAX is built and user close editor, then swing Document is also closed and TAX is re-parsed from stream. And this re-parsing is very expensive, and may be it will be main reason of poor performance.
Depends on 17297 - new ???EditorSupport should better support two document representations (Swing and TAX Documents).
Target milestone -> 3.3.1.
*** Issue 18015 has been marked as a duplicate of this issue. ***
*** Issue 19827 has been marked as a duplicate of this issue. ***
Await near 1 min on documet close is realy long time. Less patient user cat think that is deadlock
*** This issue has been marked as a duplicate of 22732 ***
I do not think issue 22732 describes same problem -> reopened.
Created attachment 6053 [details] Patch to rollback (if fails)
Patched. Could anybody review/rollback it. I have not found any side effect, but you may know the code better. Thanks
Interesting. It could solve this problem with disable XML Tree Editor module, but when enabled the problem still remains, I think.
Sorry, I wrongly read != condition. Now I see different problem. Text representation will never be removed when installed XML Tree Editor module.
Patch fixed it. Now there is only visible slowdown while saving the document. Hopefully it is tolerable for save action.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.