Bug 396557 - [hovering][javadoc] Tell user that browser widget is not available for Javadoc view/hover (tags/links not being displayed)
Summary: [hovering][javadoc] Tell user that browser widget is not available for Javado...
Status: CLOSED DUPLICATE of bug 321016
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.2.1   Edit
Hardware: PC Linux-GTK
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 19:59 EST by David Barri CLA
Modified: 2012-12-17 07:26 EST (History)
3 users (show)

See Also:


Attachments
Screenshot of code & Javadoc view. (28.85 KB, image/png)
2012-12-13 19:59 EST, David Barri CLA
no flags Details
Eclipse installation details log. (264.16 KB, text/x-log)
2012-12-13 20:00 EST, David Barri CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Barri CLA 2012-12-13 19:59:45 EST
Created attachment 224700 [details]
Screenshot of code & Javadoc view.

Please see the attached screenshot.
Notice the following problems in the Javadoc view below:

* The <pre>, <code> and <tt> blocks should be formatted with a monospace font.
* The {@link Array} tag should be formatted as a link (ie. blue and underlined).
* There should be an empty line where blocks are separated by <p>.
* There shouldn't be a massive gap between the class name and the start of the javadoc.
* There should be a gap before the author tag.

I'm seeing this problem in both 3.8.1 and 4.2.1.
I'm running ArchLinux x64.
Comment 1 David Barri CLA 2012-12-13 20:00:59 EST
Created attachment 224701 [details]
Eclipse installation details log.
Comment 2 Markus Keller CLA 2012-12-14 10:18:32 EST
The problem is that SWT couldn't find an implementation for the browser widget, so we fall back to a compatibility mode that only supports basic rendering.

See e.g. http://www.eclipse.org/swt/faq.php#browserwebkitgtk


Keeping this bug as a request to inform the user about this problem. We could e.g. add this line at the end of the Javadoc view and in the enriched hover:

<i>Note: Running with restricted functionality since SWT couldn't find a browser implementation (WebKit/XULRunner) on your system.</i>
Comment 3 David Barri CLA 2012-12-14 16:28:26 EST
I installed webkitgtk2, restarted Eclipse and it worked immediately!
Thank you very much for the help!
Comment 4 Dani Megert CLA 2012-12-17 07:26:02 EST

*** This bug has been marked as a duplicate of bug 321016 ***