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

Bug 463486

Summary: [Hover] Hovering on right ruler can sometimes result in bad tooltip placement
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: ClientAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-03-30 12:02:08 EDT
Sometimes when moving the mouse over the right ruler we get bad placement of the tooltip (shifted to the bottom of the page).  This is because we track the target/source of the onMouseMove event.  If the target is an annotation, everything works, but if the target ends up missing the annotation it uses the entire ruler instead.  We then set the entire ruler as the anchorArea for the tooltip.

This won't happen for line numbers because when we see that the content is a simple string we explicitly set the hover area to be a pixel high section of the ruler.