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 220417 - "Navigate|goto-declaration (Ctrl+B)" in context menu
Summary: "Navigate|goto-declaration (Ctrl+B)" in context menu
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 220208 220580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-19 12:41 UTC by soldatov
Modified: 2012-10-24 11:35 UTC (History)
3 users (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 soldatov 2012-10-19 12:41:42 UTC
Product Version         = NetBeans IDE Dev (Build 201210180002) (#097156a0dae7)
  Operating System        = SunOS version 5.11 running on x86
  Java; VM; Vendor        = 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_10-ea-b10
  Java Home               = /usr/jdk/jdk1.7.0_10/jre

issue 219979 is closed and simplest scenarios are fixed. But I see same bugs in other cases.

Scenario:
- Start IDE with fresh user directory
- Create Samples|C++|Welcome sample
- Open welcome.cc file
- Move cursor at 33:16
- Press Ctrl+B
==> cursor jumps to 33:10
- Move cursor at 33:16
- Call context menu
==> I see "Navigate|goto-declaration (Ctrl+B)"
Comment 1 soldatov 2012-10-19 12:56:48 UTC
Other scenario:
- Start IDE with fresh user directory
- Create Samples|C++|Welcome sample
- Open welcome.cc file
- Move cursor at 36:1
- Press Ctrl+-
- Press Ctrl+Shift-
- Check main menu
===>
View|Code Folds|collapse-fold
View|Code Folds|collapse-all-folds
Comment 2 Miloslav Metelka 2012-10-21 21:42:05 UTC
Fixed by properties resolving in wrapper action (after delegate action creation) if delegate returns null for the given property.
http://hg.netbeans.org/jet-main/rev/6a6212f6679a
Comment 3 Miloslav Metelka 2012-10-23 10:00:52 UTC
*** Bug 220580 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2012-10-23 12:08:14 UTC
Integrated into 'main-golden', will be available in build *201210231040* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6a6212f6679a
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #220417 - "Navigate|goto-declaration (Ctrl+B)" in context menu.
Comment 5 Marian Mirilovic 2012-10-24 11:35:54 UTC
*** Bug 220208 has been marked as a duplicate of this bug. ***