Bug 165194 - element Javadocs not shown if element is selected and toggle mark occurence is ON
Summary: element Javadocs not shown if element is selected and toggle mark occurence i...
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
: 165314 165315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-20 13:23 EST by Michael Giroux CLA
Modified: 2007-06-22 10:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Giroux CLA 2006-11-20 13:23:33 EST
1. Toggle Mark Occurrences ON
2. select a java element (class member for example)
3. hover the mouse over the element

Instead of javadocs for the element, all you get is a tooltip that displays the selected elment name.

In order to see the javadoc for the element, the developer must select some other element so that the desired element is not highlighted, then hover the mouse over the element.
Comment 1 Olivier Thomann CLA 2006-11-20 14:19:46 EST
Moving to JDT/UI
Comment 2 Dani Megert CLA 2006-11-21 03:06:24 EST
Works for me using R3.2.1 and 3.3 M3
1. download plain Eclipse SDK
2. run it with an empty workspace
3. open HashMap
4. select an element and verify that occurrences are marked
5. hovering over the element
==> shows Javadoc.
Comment 3 Frederic Fusier CLA 2006-11-21 10:04:37 EST
*** Bug 165315 has been marked as a duplicate of this bug. ***
Comment 4 Frederic Fusier CLA 2006-11-21 10:05:01 EST
*** Bug 165314 has been marked as a duplicate of this bug. ***
Comment 5 Michael Giroux CLA 2006-11-21 10:26:57 EST
OK, I was able to see that it works if I create an Eclipse that has no other plugins installed.  But this does not mean this is resolved.

I have WTP R1.5.2 and several other Callisto plugins installed.  It appears this bug is caused by one or more of the others.  I'll try to narrow it down.
Comment 6 Dani Megert CLA 2006-11-21 10:37:53 EST
Are you sure it is the standard Java editor?
Comment 7 Michael Giroux CLA 2006-11-21 10:43:29 EST
Problem is caused by Eclipse Checkstyle Plugin R4.1.1.  I'll post a bug report to that project.

Thanks for confirming that it works in standard environment.
Comment 8 Michael Giroux CLA 2006-11-21 10:47:52 EST
Bug 1600492 filed at sourceforge.

http://sourceforge.net/tracker/index.php?func=detail&aid=1600492&group_id=80344&atid=559494
Comment 9 Lars Ködderitzsch CLA 2006-11-21 16:55:30 EST
Can confirm the problem is in the eclipse-cs Checkstyle plugin.
The marker annotation hover implementation was to greedy and grabbed even annotations it weren't supposed to (non java annotations).

A bugfix is committed to the plugin projects CVS, will be included in the next release.
Comment 10 Dani Megert CLA 2007-06-22 09:59:36 EDT
Get rid of deprecated state.
Comment 11 Dani Megert CLA 2007-06-22 10:04:47 EDT
.