RESOLVED FIXED 151118
Web Inspector: Zooming in on the Timeline should always zoom right where the cursor is
https://bugs.webkit.org/show_bug.cgi?id=151118
Summary Web Inspector: Zooming in on the Timeline should always zoom right where the ...
Joseph Pecoraro
Reported 2015-11-10 13:58:46 PST
* SUMMARY Zooming in on the Timeline should always zoom right where the cursor is. Currently, if the Timeline shows a time range greater than the duration between the first and last record we zoom in / out the entire Timeline pinned to the start edge. This zooming behavior is rather annoying when you only want to zoom in on a particular spot and suddenly your cursor doesn't match where you zoomed. * STEPS TO REPRODUCE 1. Inspect daringfireball.net 2. Show Timeline Tab 3. Reload => records a timeline of ~3 seconds but a timeline range of ~11s. 4. Move mouse over the 1s mark 5. Attempt to zoom in => expected 1s to stay where the cursor was, instead it slide over significantly * NOTES - Once you've zoomed in enough, if you unpin from the left edge (scroll right a bit) then zoom at a specific point it will get the desired zoom behavior.
Attachments
[Video] With fix applied (747.26 KB, video/mp4)
2016-12-14 13:10 PST, Matt Baker
no flags
Patch (2.91 KB, patch)
2016-12-14 13:14 PST, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-11-10 13:59:11 PST
Matt Baker
Comment 2 2016-12-14 13:10:46 PST
Created attachment 297116 [details] [Video] With fix applied
Matt Baker
Comment 3 2016-12-14 13:14:06 PST
WebKit Commit Bot
Comment 4 2016-12-14 14:05:00 PST
Comment on attachment 297117 [details] Patch Clearing flags on attachment: 297117 Committed r209834: <http://trac.webkit.org/changeset/209834>
WebKit Commit Bot
Comment 5 2016-12-14 14:05:04 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.