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 218999 - Ctrl-Click on function name in HTML tag attribute does not go to source
Summary: Ctrl-Click on function name in HTML tag attribute does not go to source
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-09-25 15:18 UTC by peppertech
Modified: 2012-10-05 02:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (269.86 KB, text/plain)
2012-09-25 15:18 UTC, peppertech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peppertech 2012-09-25 15:18:08 UTC
Product Version = NetBeans IDE Dev (Build web-main-8649-on-20120924)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01


If I have an html tag with an "onclick" or similar attribute set to a function call, I would expect to be able to Ctrl-Click or navigate to source of that function.

For onclick, it does show the underlining with the Ctrl key pressed, but it does not go to source.  It just dings.

In the newer HTML5 attributes, like "ondrag" or "ondrop" it doesn't even provide the underlining when Ctrl is clicked.
Comment 1 peppertech 2012-09-25 15:18:15 UTC
Created attachment 124886 [details]
IDE log
Comment 2 Marek Fukala 2012-09-27 12:40:33 UTC
this is supposed to work
Comment 3 Petr Pisl 2012-10-04 19:40:17 UTC
Fixed in web-main. 
http://hg.netbeans.org/web-main/rev/127255761c46

The ondrag and ondrop added to the event handlers, which fixes this case.
Comment 4 Quality Engineering 2012-10-05 02:01:43 UTC
Integrated into 'main-golden', will be available in build *201210050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/127255761c46
User: Petr Pisl <ppisl@netbeans.org>
Log: #218999 - Ctrl-Click on function name in HTML tag attribute does not go to source