Bug 139415

Summary: Web Inspector: Docked inspector repositioned incorrectly when dragging frame borders
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
After horizontal resize
none
Patch none

Matt Baker
Reported 2014-12-08 14:54:36 PST
When the inspector is docked on the right, resizing the main frame causes the inspector view to be repositioned incorrectly. This occurs when resizing horizontally or vertically. Reducing the size of the frame causes the left or top portion of the inspector to be clipped, and increasing the frame size causes empty space to be introduced in the view (see attachments). Using the docked inspector's splitter forces the view to "snap" back to the correct size. It's possible this was introduced by https://bugs.webkit.org/show_bug.cgi?id=22263 Steps to reproduce: 1. Dock the inspector on the right. 2. Increase the width of the main frame by dragging either the left or right window edge. 3. The left edge of the docked inspector view is clipped.
Attachments
After horizontal resize (328.27 KB, image/png)
2014-12-08 14:55 PST, Matt Baker
no flags
Patch (1.73 KB, patch)
2014-12-10 18:09 PST, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2014-12-08 14:54:52 PST
Matt Baker
Comment 2 2014-12-08 14:55:26 PST
Created attachment 242851 [details] After horizontal resize
Matt Baker
Comment 3 2014-12-08 14:58:27 PST
Clarification: Clipping results from increasing the frame size. The empty space appears when decreasing the frame size.
Matt Baker
Comment 4 2014-12-08 16:19:14 PST
Clarification: this was likely introduced by https://bugs.webkit.org/show_bug.cgi?id=135120
Matt Baker
Comment 5 2014-12-10 18:09:50 PST
Joseph Pecoraro
Comment 6 2014-12-12 13:32:50 PST
Comment on attachment 243086 [details] Patch r=me! Good find!
WebKit Commit Bot
Comment 7 2014-12-15 13:26:38 PST
Comment on attachment 243086 [details] Patch Clearing flags on attachment: 243086 Committed r177309: <http://trac.webkit.org/changeset/177309>
WebKit Commit Bot
Comment 8 2014-12-15 13:26:42 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.