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

Bug 427134

Summary: Command dropdown menus are not aligned to the command button
Product: [ECD] Orion Reporter: Maciej Bendkowski <maciej.bendkowski>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0 RC2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Maciej Bendkowski CLA 2014-01-31 10:37:47 EST
The push command dropdown is not properly aligned on the git-repository page. It's far too left. On the other hand, other push command occurrences are aligned correctly. This bug may be connected to the recent global UI change.
Comment 1 Maciej Bendkowski CLA 2014-02-03 11:22:23 EST
Currently, dropdown menus are rendered in the parent DOM and bound statically to that parent position. As this approach is generally acceptable, it fails for group commands, e. g. Push. Consider the commit section actions area. Since all commands are rendered within a single div parent node, the Push dropdown menu is rendered and bound to the div. Because the Push command is not rendered at the beginning of the parent node, the menu appears dis-attached. Moreover, there's no control over the horizontal orientation of the menu - a similar mechanism to the automatic tooltip rendering (left, right, above, under). Therefore the menu is always aligned to the left border of the parent DOM.