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 - After apply design pattern, DV nodes do not expand on first click
Summary: After apply design pattern, DV nodes do not expand on first click
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 111104 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-06 20:08 UTC by tonybeckham
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Bad rendering on first click (58.72 KB, text/plain)
2007-11-06 20:09 UTC, tonybeckham
Details
correct render after collapsing then re-expanding (65.20 KB, text/plain)
2007-11-06 20:10 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
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