RESOLVED FIXED 135372
Web Inspector: Dragging selection window when mouse goes out of window bounds does not behave as expected
https://bugs.webkit.org/show_bug.cgi?id=135372
Summary Web Inspector: Dragging selection window when mouse goes out of window bounds...
Joseph Pecoraro
Reported 2014-07-28 17:11:50 PDT
* SUMMARY Dragging selection window when mouse goes out of window bounds does not behave as expected. The selection window moves left/right as the mouse moves left/right outside of the window. The drag should only move once the mouse comes back over the window. It should always be vertically aligned with the cursor when the cursor is over the window. * STEPS TO REPRODUCE 1. Open inspector 2. Select a small time range 3. Start dragging the selection (from the time ruler so you move the selection entirely with the mouse) 4. Mouse out of the right side of the window (ranged selection is flush to the right side) 5. Start moving the mouse back left to the window => ranged selection moved left! I would only expect this once the mouse is back over the window
Attachments
[PATCH] Proposed Fix (4.76 KB, patch)
2014-08-07 13:44 PDT, Joseph Pecoraro
timothy: review+
Radar WebKit Bug Importer
Comment 1 2014-07-28 17:12:41 PDT
Joseph Pecoraro
Comment 2 2014-08-07 13:44:33 PDT
Created attachment 236217 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2014-08-07 13:46:31 PDT
Comment on attachment 236217 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=236217&action=review > Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js:611 > + var selectionDragElementRects = this._selectionDragElement.getBoundingClientRect(); selectionDragElementRect instead of selectionDragElementRects?
Joseph Pecoraro
Comment 4 2014-08-07 13:47:09 PDT
Comment on attachment 236217 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=236217&action=review >> Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js:611 >> + var selectionDragElementRects = this._selectionDragElement.getBoundingClientRect(); > > selectionDragElementRect instead of selectionDragElementRects? Oop, yeah. Will fix.
Joseph Pecoraro
Comment 5 2014-08-07 13:51:54 PDT
Note You need to log in before you can comment on or make changes to this bug.