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

Bug 465858

Summary: [Hover] Line number tooltips are placed incorrectly (at bottom of the ruler)
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:
Bug Depends on: 465246    
Bug Blocks:    

Description Curtis Windatt CLA 2015-04-29 16:27:20 EDT
In rulers.js line 507 if we are hovering over the ruler div rather than a specific annotation div we have a hack to fix the y location of the tooltip (we base tooltip location on the element being hovered over, but if the ruler is being hovered over we should be using the mouse location instead).

For some reason this hack isn't working for me, the hoverArea object is not having its values changed.
Comment 1 Curtis Windatt CLA 2015-04-29 16:41:34 EDT
Caused by the fix for Bug 465246.
Comment 2 Curtis Windatt CLA 2015-04-29 16:47:45 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=10dfb9ab827911b43e91d3759aaedde3ddb20a4e

Fixed in master.  Even though this is a regression due to another change, we should still be creating a new object with the same properties so we can modify it rather than just assuming we can alter the bounds object.