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 193477 - Switches to design view when target is ambiguous
Summary: Switches to design view when target is ambiguous
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 06:32 UTC by Chiana
Modified: 2011-10-21 18:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Testcase (1.27 KB, application/x-zip-compressed)
2011-01-13 00:33 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2010-12-16 06:32:00 UTC
[ BUILD # : 20101215 ]
[ JDK VERSION : 1.6.22 ]

I have a call to a method;
addArtToModel(art)
where there are currently two targets

private void addArtToModel(Artreg a)

and 

private void addArtToModel(recieteLine r)

that is currently invalid (due to both Artreg and recieteLine is missing)
If you double-click either of theese in the navigator-window the editor
switches to design view, and also if you right-click the call it will also
switch to design view
Comment 1 Chiana 2011-01-13 00:33:15 UTC
Created attachment 104942 [details]
Testcase

A testcase for this problem.

Double-click on any of the foo's in the navigation window and it switches to designview.
Tested on build 6447 on 110112
Comment 2 Jan Stola 2011-10-21 18:07:43 UTC
I am sorry, I am not able to reproduce this issue. Are you still able to reproduce it. If so, could you, please, provide more details?

I tried the following steps:
1. Open/create some Java Application project.
2. Copy the attached files into this project.
3. Select TestPanel.java in Projects.
   => only foo(zoo a) is shown in Navigator
4. Double-click foo(zoo a)
   => TestPanel.java is opened on Source tab and caret is placed on foo(zoo a)