Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317866

Summary: Hovers don't look right when there are multiple occurrences
Product: z_Archived Reporter: Jacob Weber <jacob>
Component: PDTAssignee: xu jiaxi <legend7z>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: minor    
Priority: P2 CC: ganoro, kalin.a, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Hovering over the Debug class
none
patch none

Description Jacob Weber CLA 2010-06-24 13:52:20 EDT
When I hover over a class name, and there are multiple classes with that name, the size of the hover isn't wide enough to fit its contents, even though its contents are very narrow.

Also, the hover shows the class name twice, but doesn't provide any information about either one. It would be more useful to either show the description/PHPDoc from both versions, show just the first version, or at least show links to both versions.

See attached screen shot.



-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Jacob Weber CLA 2010-06-24 13:52:53 EDT
Created attachment 172655 [details]
Hovering over the Debug class
Comment 2 xu jiaxi CLA 2010-12-06 02:38:49 EST
Created attachment 184576 [details]
patch

We will display every version of the classes and split them by "<hr>" tag
Comment 3 Zhongwei Zhao CLA 2011-01-13 00:39:20 EST
when we have following code:
$a = new Test();

we hover at Test,the hover will show:
Test
Test::Test
()
Test::test
()
the width is still not wide enough,make small workaround to the patch.
Comment 4 Kalin CLA 2011-07-29 08:14:12 EDT
Closing...