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

Bug 482540

Summary: Cannot scroll tooltip (was: JSDoc hovering does not work well if the contents is too big)
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: Eric Moffatt <emoffatt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: curtis.windatt.public, emoffatt, Michael_Rennie, Silenio_Quarti
Version: 10.0   
Target Milestone: 11.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2015-11-18 17:38:17 EST
Found this issue when investigating org.eclipse.orion.client.ui/web/edit/setup.js.
Steps to reproduce:
1. Open setup.js file.
2. Find "commandRegistry.renderCommands" in the file.
3. Hover on "renderCommands", JSDoc pops up.

You will notice that the popup is filled with the JSDoc. Move your mouse into the popup you will see a scroll bar. Tried to use the scroll bar to see more JSDoc but it ended up disappearing.
Comment 1 Curtis Windatt CLA 2015-11-19 10:01:44 EST
That's new and interesting and bad.
Maybe caused by Bug 480348 - nextAnnotation no longer show the annotation's tooltip
Comment 2 Eric Moffatt CLA 2015-11-19 11:26:16 EST
I'll take a look into this one, SSQ has already identified the likely issue (and fix...;-).
Comment 3 Michael Rennie CLA 2015-11-19 11:35:22 EST
Moving to client.
Comment 4 Eric Moffatt CLA 2015-11-19 14:11:04 EST

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=61eaace5f1c8dc75ecaf647f7ee38b491bf51d5f

This checks the source of the scroll event and ignores it if the source element is inside the tooltipDiv itself.