| Summary: | Command tooltips do not position properly in Chrome when the whole document is scrolled. | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 5.0 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
libing wang
It only happens in Chrome(version 40. Not sure if it happened in the previous version). It turned out that the littlelib.bounds uses document.documentElement.scrollTop, which is always 0 in Chrome. The littlelib.bounds API is used in the tooltip positioning API so it causes offsets. https://code.google.com/p/chromium/issues/detail?id=157855 fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4af8a499e15d9fd80b3ff436dc944dc289700c1b. tested in FF, Chrome, IE and Safari. |