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.
Seen on Product Version: NetBeans IDE Dev (Build 200706190000, C/C++ Pack 20070619) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\lautz\.netbeans\dev Related to issue 97533, which adds Go to -> Partner in the Source view. 1. Open a valid WSDL document that defines messages, partnerlinktypes, and port types, like the WSDL generated when you run the WSDL wizard and accept defaults. 2. Go to the Partner view, and collapse all the Partner Link Type and Message widgets. 3. Go to the Source view. 4. Right-click on a port type that is the type of a partnerlinktype role, and choose Go To -> Partner. => The WSDL is shown in the Partner view, but the port type is not visible as selected. The Partner Link Type widget is still collapsed. If you choose Go To -> WSDL in step 4, the WSDL tree is expanded as needed to show the node for the selected element. IMHO, the Partner view should also expand the widget to show the selected element. Same behavior occurs for parts in messages, messages, partnerlinktyperoles, etc.
This also happens for Go To Partner from the wsdl view too.
Fixed this
Retested with Product Version: NetBeans IDE Dev (Build 200707161200) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\lautz\.netbeans\dev Following the scenario originally described, after step 4, ==> the arrow for the Partnerlinktype is pointing the wrong direction (down instead of up), even though the Partnerlinktype is already expanded (screenshot attached). Clicking on this arrow once does nothing but switch the arrow to up. The second click on the arrow collapses the Partnerlinktype and switches the arrow to down. Same happens with message part, Port type operation, etc.
Created attachment 45254 [details] Screenshot showing down arrow with expanded partnerlinktype.
Fixed.
Retested with Product Version: NetBeans IDE Dev (Build 200707250000) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\lautz\.netbeans\dev Almost working as expected -- this might be a problem with synchronization that only shows up on a slower machine. I have a 1.8 GHz processor with "only" 1M RAM. Looks good in almost all cases, except the following: 1. Open a valid WSDL document that has at least one partnerlink with partner role defined. 2. In the WSDL view, select the partner role. 3. In the context menu for the partner role, click Go To -> Partner. => The Partner view shows a weird, mixed up semi-expanded view, as shown in the attached screenshot. If I wait a second or click on the window or expand the window (in some way, refresh the window), the correct expanded view is shown.
Created attachment 45716 [details] Screen shot showing half-expanded partnerlink.
I am not able to reproduce the last scenario on my machine. Also, did you mean to say 1GB of memory? Does just moving the mouse, refresh the view? Is it reproduceable everytime? if so, can please file a new bug for the last scenario.
The last little test case is not reproduceable with Product Version: NetBeans IDE Dev (Build 200708210000) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\lautz\.netbeans\dev