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

Issue 462083002: DevTools: do not scroll console to bottom on resize (Closed)

Created:
6 years, 4 months ago by lushnikov
Modified:
6 years, 4 months ago
Reviewers:
vsevik, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+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, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

DevTools: do not scroll console to bottom on resize Currently console gets scrolled to bottom whenever it gets resized. The patch fixes this erroneous behavior. R=vsevik, pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180175

Patch Set 1 #

Patch Set 2 : address comments #

Total comments: 1

Patch Set 3 : @vsevik comments #

Total comments: 1

Patch Set 4 : _immediatelyScrollIntoView -> _immediatelyScrollToBottom #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M Source/devtools/front_end/console/ConsoleView.js View 1 2 3 5 chunks +5 lines, -12 lines 0 comments Download
M Source/devtools/front_end/ui/ViewportControl.js View 1 4 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
lushnikov
Please, take a look
6 years, 4 months ago (2014-08-12 15:13:51 UTC) #1
lushnikov
Addressed comments
6 years, 4 months ago (2014-08-12 15:37:42 UTC) #2
vsevik
lgtm Could you please check the case where we switch away from the console panel, ...
6 years, 4 months ago (2014-08-13 07:21:11 UTC) #3
lushnikov
@vsevik, I removed ConsoleView._scrolledToBottom variable - indeed, it's not needed any more. I tested different ...
6 years, 4 months ago (2014-08-13 12:33:33 UTC) #4
vsevik
lgtm https://codereview.chromium.org/462083002/diff/40001/Source/devtools/front_end/console/ConsoleView.js File Source/devtools/front_end/console/ConsoleView.js (right): https://codereview.chromium.org/462083002/diff/40001/Source/devtools/front_end/console/ConsoleView.js#newcode430 Source/devtools/front_end/console/ConsoleView.js:430: this._immediatelyScrollIntoView(); Would you mind renaming this to this._immediatelyScrollPromptIntoView() ...
6 years, 4 months ago (2014-08-13 12:38:27 UTC) #5
lushnikov
On 2014/08/13 12:38:27, vsevik wrote: > lgtm > > https://codereview.chromium.org/462083002/diff/40001/Source/devtools/front_end/console/ConsoleView.js > File Source/devtools/front_end/console/ConsoleView.js (right): > ...
6 years, 4 months ago (2014-08-13 12:45:44 UTC) #6
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 4 months ago (2014-08-13 12:45:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/462083002/60001
6 years, 4 months ago (2014-08-13 12:45:54 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-13 13:50:20 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 13:54:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/7331)
6 years, 4 months ago (2014-08-13 13:54:34 UTC) #11
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 4 months ago (2014-08-13 14:03:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/462083002/60001
6 years, 4 months ago (2014-08-13 14:04:22 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 14:25:30 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (60001) as 180175

Powered by Google App Engine
This is Rietveld 408576698