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 247652 - URLs in the output window convert the entire line to a Hyperlink and make it hard to read
Summary: URLs in the output window convert the entire line to a Hyperlink and make it ...
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-02 17:53 UTC by swpalmer
Modified: 2014-11-28 14:27 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 swpalmer 2014-10-02 17:53:41 UTC
When a line of output contains a URL such as:

"10-02 13:41:33 INFO Debugging service: about to POST to http://example.com/"

The entire line from the beginning to the end of the URL is coloured blue and underlined.  This makes it hard to read the output.  Only the URL portion of the line should be made into an active hyperlink with alternate colouring and the underline.
Comment 1 Jaroslav Havlin 2014-10-13 07:36:14 UTC
Can you please provide more info about the bug, e.g. steps to reproduce?
Which module produces this output?
(Output Window doesn't detect hyperlinks, it's done by its API clients.)
Thank you.
Comment 2 swpalmer 2014-10-13 19:20:36 UTC
Run any Java application that outputs messages containing URLs to the console.

public class Main {
	public static void main(String[] args) {
		System.out.println("This line has a URL http://netbeans.org/");
	}
}
Comment 3 Jaroslav Havlin 2014-10-31 13:56:53 UTC
> Run any Java application that outputs messages containing URLs to the
> console.
I'm sorry, I still cannot reproduce this bug. I tried an Ant project and a Maven project and neither of them detects URLs in application output.

What type of project do you use?
Comment 4 swpalmer 2014-11-02 18:52:09 UTC
I was using a Gradle project (of course!). I didn't realize it was project dependent, sorry.
Comment 5 swpalmer 2014-11-02 18:56:49 UTC
I have submitted this issue to the Gradle plugin.
https://github.com/kelemen/netbeans-gradle-project/issues/164
Comment 6 Jaroslav Havlin 2014-11-28 14:27:46 UTC
(In reply to swpalmer from comment #5)
> I have submitted this issue to the Gradle plugin.
> https://github.com/kelemen/netbeans-gradle-project/issues/164
Thank you very much.
I'm closing this issue.