Bug 147652

Summary: Web Inspector: Timeline ruler handle tooltip shows wrong value when handles overlap
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, hi, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Matt Baker 2015-08-04 14:30:58 PDT
* SUMMARY
Timeline ruler handle tooltip shows wrong value when handles overlap. The tooltip should show the value closest to the edge of the graph to which the handles are clamped.

* STEPS TO REPRODUCE
1. Record a timeline, create a ruler selection.
2. Scroll the timeline to the right, until the selection scrolls completely off the left edge of the graph.
3. Hover over the handles clamped to the left edge of the ruler.
  => Tooltip shows selection start time. Should show end time.
4. Scroll the timeline to the left, until the selection scrolls completely off the right edge of the graph.
5. Hover over the handles clamped to the right edge of the ruler.
  => Tooltip shows selection end time. Should show start time.
Comment 1 Devin Rousso 2015-08-08 18:09:11 PDT
Created attachment 258585 [details]
Patch
Comment 2 WebKit Commit Bot 2015-08-08 19:06:24 PDT
Comment on attachment 258585 [details]
Patch

Clearing flags on attachment: 258585

Committed r188192: <http://trac.webkit.org/changeset/188192>
Comment 3 WebKit Commit Bot 2015-08-08 19:06:30 PDT
All reviewed patches have been landed.  Closing bug.