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 121321

Summary: After apply design pattern, DV nodes do not expand on first click
Product: xml Reporter: tonybeckham <tonybeckham>
Component: Schema ToolsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Bad rendering on first click
correct render after collapsing then re-expanding

Description tonybeckham 2007-11-06 20:08:03 UTC
Product Version: NetBeans IDE Dev (Build 200711060000)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5 running on i386; MacRoman; en_US (nb)

Problem:
If you apply a design pattern to a schema when you are in a view other than Design View then switch to DV, trying to
expand a node does not work the first try.  On Mac OS the first time renders a cut-off expansion, while on Linux the
first  try does nothing.  Both need to be clicked to collapse then click to expand and all is right.

Steps:
1. Create a new schema
2. Add a few Elements and a few nested elements, maybe add a complex type or two.
3. While in schema view, apply a design pattern to the schema
4. Switch to DV and expand an element you will notice the problem
Comment 1 tonybeckham 2007-11-06 20:09:45 UTC
Created attachment 52622 [details]
Bad rendering on first click
Comment 2 tonybeckham 2007-11-06 20:10:13 UTC
Created attachment 52623 [details]
correct render after collapsing then re-expanding
Comment 3 tonybeckham 2007-11-06 20:17:44 UTC
Actually I can reproduce it even if you are in DV when you apply a design pattern.  And linux and mac have the same
behavior.  I think the two incorrect expansions (1. cut-off expansion, and 2. no expansion) vary depending what design
pattern is being applied and from what DP it was changing from.
Comment 4 Samaresh Panda 2008-11-18 16:37:50 UTC
Valid one, we should try to fix it for 7.0.
Comment 5 Samaresh Panda 2008-12-04 20:30:16 UTC
*** Issue 111104 has been marked as a duplicate of this issue. ***
Comment 6 Martin Balin 2016-07-07 09:56:52 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss