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 137696 - documentation links are closing documentation window
Summary: documentation links are closing documentation window
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 11:19 UTC by Jindrich Sedek
Modified: 2009-09-22 13:32 UTC (History)
0 users

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 Jindrich Sedek 2008-06-19 11:19:16 UTC
use this code in css file:
------
h1{
 col|
}
---------
invoke cc at possition of "|" -> documentation window is shown and it contains few links
try to use some link -> documentation window is closed 
correct page should be shown as the best behavior or at least the window should not be closed and nothing should happen
Comment 1 Jindrich Sedek 2008-07-22 13:40:28 UTC
using CSS documentation in JSP emebdding is throwing NPE:

java.lang.NullPointerException
	at org.netbeans.modules.gsfret.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:105)
	at org.netbeans.modules.gsfret.editor.completion.GsfCompletionDoc.resolveLink(GsfCompletionDoc.java:151)
	at 
org.netbeans.modules.editor.completion.DocumentationScrollPane$HyperlinkAction.hyperlinkUpdate(DocumentationScrollPane.java:441)
	at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:327)
	at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:828)
	at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:638)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
Comment 2 Torbjorn Norbye 2008-09-13 15:57:32 UTC
The NPE should be fixed by changeset 6ee809f2e6b8
Comment 3 Torbjorn Norbye 2008-09-13 16:23:39 UTC
Sorry, make that 925a73d14e42
Comment 4 Marek Fukala 2008-09-25 16:37:46 UTC
I would like to fix the links.
Comment 5 Denis Anisimov 2009-08-25 17:10:21 UTC
changeset:   142428:c4e40708137c
user:        Denis Anisimov <ads@netbeans.org>
date:        Tue Aug 25 20:08:22 2009 +0400
summary:     Fix for IZ#137696 - documentation links are closing documentation window
Comment 6 Quality Engineering 2009-08-26 06:39:29 UTC
Integrated into 'main-golden', will be available in build *200908260201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c4e40708137c
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for IZ#137696 - documentation links are closing documentation window
Comment 7 Jindrich Sedek 2009-09-22 13:32:58 UTC
verified.
NetBeans IDE Dev (Build 200909220201)