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

Bug 468402

Summary: [Hover] Quickfix buttons change height when hovered over causing a scrollbar to show
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:    
Bug Blocks: 468401    

Description Curtis Windatt CLA 2015-05-26 16:07:03 EDT
1) Open a tooltip with quickfix
2) Click somewhere in the tooltip to give it focus
3) Move mouse over the quickfix button
Result:
A scrollbar is added, messing up the size of the tooltip (text must wrap).

You can also notice the size of the button changing when there are multiple quickfixes, the placement of the second button will move when the first is hovered over.
Comment 1 Curtis Windatt CLA 2015-05-26 17:31:00 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=037197a94bb536ee7c766333d9de07d49d803afd
Fixed in master

Standard command buttons have a border.  We removed the border to make it look more like a link.  Hovering added a border causing the size change.  For now I've added a border that matches the background of the tooltip.  If I wanted to do the inverse, remove the border onFocus/onHover I would have to use !important or some other css trick to give the tooltip.css priority over theme.css.