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.

Bug 126042 - Apply Design Pattern wizard takes a long time to appear for larger schemas.
Summary: Apply Design Pattern wizard takes a long time to appear for larger schemas.
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2008-01-26 02:28 UTC by Samaresh Panda
Modified: 2008-03-03 19:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samaresh Panda 2008-01-26 02:28:58 UTC
For example, on OTA or health-care schemas, it takes several seconds to appear. On further investigation, I found that,
this is because of a fix for issue 96476. Also there is at least one more issue 101819 which complains about ADP and
undo-redo on unopened document.

Hence it has been decided not to allow ADP on closed documents. This action will only appear on opened documents.
Comment 1 Samaresh Panda 2008-01-26 02:54:13 UTC
Fix integrated:
/cvs/xml/schema/src/org/netbeans/modules/xml/schema/actions/SchemaTransformAction.java,v  <--  SchemaTransformAction.java
new revision: 1.3; previous revision: 1.2

The action will be enabled for open schemas only.
Comment 2 tonybeckham 2008-02-27 19:33:05 UTC
What is a reasonable time to expect the wizard to appear?  It is about 7sec for me with current build:

Product Version: NetBeans IDE Dev (Build 200802270005)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
Comment 3 tonybeckham 2008-03-03 19:10:00 UTC
Fix verified.

Product Version: NetBeans IDE Dev (Build 200803021202)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)

Since sam filed and fixed this it is up to the speed we are looking for.