WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
160311
Web Inspector: Grid column resizer elements positioned incorrectly
https://bugs.webkit.org/show_bug.cgi?id=160311
Summary
Web Inspector: Grid column resizer elements positioned incorrectly
Matt Baker
Reported
2016-07-28 13:24:24 PDT
Summary: Grid column resizer elements positioned incorrectly. Steps to Reproduce: 1. Open Inspector 2. Switch to Timelines tab 3. Resize Inspector window horizontally 4. Switch to Network tab => Grid resizers are positioned incorrectly. Observable by hovering mouse near column boundaries.
Attachments
[Patch] Proposed Fix
(2.79 KB, patch)
2016-07-28 14:24 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Patch] Proposed Fix
(3.15 KB, patch)
2016-07-29 12:59 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2
(901.61 KB, application/zip)
2016-07-29 15:05 PDT
,
Build Bot
no flags
Details
[Patch] Proposed Fix
(3.12 KB, patch)
2016-07-31 12:15 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-07-28 13:24:41 PDT
<
rdar://problem/27595586
>
Matt Baker
Comment 2
2016-07-28 14:24:19 PDT
Created
attachment 284818
[details]
[Patch] Proposed Fix
Blaze Burg
Comment 3
2016-07-29 11:13:46 PDT
Comment on
attachment 284818
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284818&action=review
> Source/WebInspectorUI/UserInterface/Views/TabBrowser.js:238 > + this._sizeDidChange = false;
In principle this seems like the right direction, but what if you switch again to another tab? It won't get that Resize layout. This might have to be a needsResizeLayout flag per tab.
Matt Baker
Comment 4
2016-07-29 11:36:46 PDT
Comment on
attachment 284818
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284818&action=review
>> Source/WebInspectorUI/UserInterface/Views/TabBrowser.js:238 >> + this._sizeDidChange = false; > > In principle this seems like the right direction, but what if you switch again to another tab? It won't get that Resize layout. This might have to be a needsResizeLayout flag per tab.
Very good point! Having a flag per tab should work.
Timothy Hatcher
Comment 5
2016-07-29 11:37:35 PDT
Comment on
attachment 284818
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284818&action=review
>>> Source/WebInspectorUI/UserInterface/Views/TabBrowser.js:238 >>> + this._sizeDidChange = false; >> >> In principle this seems like the right direction, but what if you switch again to another tab? It won't get that Resize layout. This might have to be a needsResizeLayout flag per tab. > > Very good point! Having a flag per tab should work.
Yeah, I think this could be a symbol on each tabContentView that TabBrowser tracks.
Matt Baker
Comment 6
2016-07-29 12:59:47 PDT
Created
attachment 284891
[details]
[Patch] Proposed Fix
Build Bot
Comment 7
2016-07-29 15:05:34 PDT
Comment on
attachment 284891
[details]
[Patch] Proposed Fix
Attachment 284891
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/1775539
New failing tests: media/track/track-remove-quickly.html
Build Bot
Comment 8
2016-07-29 15:05:36 PDT
Created
attachment 284907
[details]
Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
Matt Baker
Comment 9
2016-07-31 12:15:51 PDT
Created
attachment 284968
[details]
[Patch] Proposed Fix
Blaze Burg
Comment 10
2016-08-01 11:28:25 PDT
Comment on
attachment 284968
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284968&action=review
r=me
> Source/WebInspectorUI/UserInterface/Views/TabBrowser.js:241 > + }
Is this layout going to be redundant if we had to show/collapse some of the sidebar panels just above this branch?
Matt Baker
Comment 11
2016-08-01 13:13:42 PDT
Comment on
attachment 284968
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284968&action=review
>> Source/WebInspectorUI/UserInterface/Views/TabBrowser.js:241 >> + } > > Is this layout going to be redundant if we had to show/collapse some of the sidebar panels just above this branch?
Investigating before I cq+.
Matt Baker
Comment 12
2016-08-01 15:10:34 PDT
I didn't observe any redundant layouts due to the patch. However trying different combinations of collapsed sidebars and split console when switching tabs, I found an existing case where switching tabs causes three layouts:
https://bugs.webkit.org/show_bug.cgi?id=160426
WebKit Commit Bot
Comment 13
2016-08-01 15:32:20 PDT
Comment on
attachment 284968
[details]
[Patch] Proposed Fix Clearing flags on attachment: 284968 Committed
r203991
: <
http://trac.webkit.org/changeset/203991
>
WebKit Commit Bot
Comment 14
2016-08-01 15:32:26 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 15
2016-08-10 23:38:45 PDT
Comment on
attachment 284968
[details]
[Patch] Proposed Fix Nice fix!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug