Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Issue 28923003: DevTools: console.table attached inside a collapsed console group is not resizeable. (Closed)

Created:
7 years, 2 months ago by aandrey
Modified:
7 years, 2 months ago
Reviewers:
vsevik, eustas, apavlov, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: console.table attached inside a collapsed console group is not resizeable. A DataGrid being attached to a hidden parent (e.g. collapsed console group) can not initialize column widths right away and just skips it. And it will never do so unless explicitly asked. Thus the problem happens when the parent becomes visible. To overcome this we call wasShown() for console messages and groups recursively. BUG=306120 R=pfeldman,vsevik,eustas@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160457

Patch Set 1 #

Patch Set 2 : address use case: expand console group containing a console.table, mousemove over it, collapse the … #

Patch Set 3 : calling wasShown explicitly #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -13 lines) Patch
M Source/devtools/front_end/ConsoleMessage.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/ConsoleView.js View 1 2 3 4 1 chunk +19 lines, -6 lines 0 comments Download
M Source/devtools/front_end/DataGrid.js View 1 2 3 4 5 chunks +7 lines, -7 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
aandrey
7 years, 2 months ago (2013-10-18 12:30:27 UTC) #1
aandrey
ping
7 years, 2 months ago (2013-10-22 10:28:54 UTC) #2
pfeldman
I think I was fixing it differently. Lets chat.
7 years, 2 months ago (2013-10-22 10:39:47 UTC) #3
aandrey
On 2013/10/22 10:39:47, pfeldman wrote: > I think I was fixing it differently. Lets chat. ...
7 years, 2 months ago (2013-10-22 13:46:57 UTC) #4
pfeldman
https://codereview.chromium.org/28923003/diff/130001/Source/devtools/front_end/DOMExtension.js File Source/devtools/front_end/DOMExtension.js (right): https://codereview.chromium.org/28923003/diff/130001/Source/devtools/front_end/DOMExtension.js#newcode197 Source/devtools/front_end/DOMExtension.js:197: return this.classList.toggle(className); Lets use classList, we already use it ...
7 years, 2 months ago (2013-10-23 13:05:38 UTC) #5
aandrey
https://codereview.chromium.org/28923003/diff/130001/Source/devtools/front_end/DOMExtension.js File Source/devtools/front_end/DOMExtension.js (right): https://codereview.chromium.org/28923003/diff/130001/Source/devtools/front_end/DOMExtension.js#newcode197 Source/devtools/front_end/DOMExtension.js:197: return this.classList.toggle(className); On 2013/10/23 13:05:38, pfeldman wrote: > Lets ...
7 years, 2 months ago (2013-10-23 13:35:59 UTC) #6
pfeldman
lgtm https://codereview.chromium.org/28923003/diff/170001/Source/devtools/front_end/DataGrid.js File Source/devtools/front_end/DataGrid.js (right): https://codereview.chromium.org/28923003/diff/170001/Source/devtools/front_end/DataGrid.js#newcode1082 Source/devtools/front_end/DataGrid.js:1082: var percentLeftColumn = (100 * (dragPoint - leftEdgeOfPreviousColumn) ...
7 years, 2 months ago (2013-10-24 14:40:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/28923003/170001
7 years, 2 months ago (2013-10-24 14:41:53 UTC) #8
commit-bot: I haz the power
7 years, 2 months ago (2013-10-24 15:43:38 UTC) #9
Message was sent while issue was closed.
Change committed as 160457

Powered by Google App Engine
This is Rietveld 408576698