Bug 459474 - Javadoc tooltips do not display markup
Summary: Javadoc tooltips do not display markup
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-02-09 10:17 EST by Ralf Sternberg CLA
Modified: 2015-02-09 10:51 EST (History)
1 user (show)

See Also:


Attachments
Screenshot to illustrate the problem (24.29 KB, image/png)
2015-02-09 10:31 EST, Ralf Sternberg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2015-02-09 10:17:55 EST
Markup in JavaDoc (HTML tags such as <em>, <pre>, <code>, <strong>) is ignored in the JavaDoc view. I remember that this has worked once.
Comment 1 Dani Megert CLA 2015-02-09 10:19:44 EST
(In reply to Ralf Sternberg from comment #0)
> Markup in JavaDoc (HTML tags such as <em>, <pre>, <code>, <strong>) is
> ignored in the JavaDoc view. I remember that this has worked once.

What do you mean by ignored? Can you provide a concrete test case?
Comment 2 Ralf Sternberg CLA 2015-02-09 10:31:55 EST
Created attachment 250627 [details]
Screenshot to illustrate the problem

With ignored I mean that only the plain text is displayed, without any markup applied. I'll attach a screenshot.
Comment 3 Dani Megert CLA 2015-02-09 10:37:50 EST
This looks like the SWT Browser widget doesn't work in your install.
Comment 4 Ralf Sternberg CLA 2015-02-09 10:51:42 EST
Right, that was the reason. At some point, I've added the system property

    -Dorg.eclipse.swt.browser.DefaultType=mozilla

as a last resort to work around the SWT crashes related to some shared webkit libraries on Linux. Seems that this disabled the browser widget completely. Removing this property brought the markup back.

Thanks and sorry for the noise.