Regression : After resizing, devtools automatically switches from current tab to 'Styles' tab.
Reported by
avsha...@etouch.net,
Aug 7 2017
|
|||
Issue descriptionChrome version : 62.0.3178.0 (Official Build) cdd15784955039742fe9a8235581922d41b82d78-refs/heads/master@{#492239} 32/64 bit OS : Windows (7,8,10), Linux(14.04 LTS), Mac(10.11.6, 10.12.3, 10.12.5) What steps will reproduce the problem? 1. Launch chrome and open devtools on NTP. 2. In 'Elements' section, click on 'Properties' tab and resize devtools window towards RHS. 3. Observe. Actual Result : After resizing, current tab disappears and devtools automatically switches to 'Styles' tab. Expected Result : After resizing, it should stay on current (Properties) tab and should not switch to 'Styles' tab. This is a regression issue broken in ‘M-60’, below is the Manual Regression range and will soon update other info. Good build : 60.0.3102.0 Bad build : 60.0.3103.0
,
Aug 7 2017
Thanks for the report. Indeed, losing the selected tab when resizing to a smaller width is due to my change. There's a similar bug on stable, where resizing to a larger width will lose the selected tab, which is a non-regression. I'll take a look.
,
Aug 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f0408391105df5ba82af54510233e662b2af60ef commit f0408391105df5ba82af54510233e662b2af60ef Author: Erik Luo <luoe@chromium.org> Date: Tue Aug 08 01:02:12 2017 DevTools: preserve selected tab when resizing elements panel The Elements panel sidebar can be resized to one of 3 layouts. After switching, the tabbedPane is recreated, causing the first tab to be selected. Instead of losing the last selected tab, this CL preserves it if possible, upon resize. Bug: 752906 Change-Id: Ie44005c830e8ab57e33849509ac46bf57fc8dcc9 Reviewed-on: https://chromium-review.googlesource.com/604233 Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#492482} [modify] https://crrev.com/f0408391105df5ba82af54510233e662b2af60ef/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
,
Aug 10 2017
Update : Tested above issue in latest Canary #62.0.3181.0 build on Windows(7,8,10), Linux(14.04) & Mac OS and the issue is fixed. Now it preserves current tab when resizing devtools and the fix is working as intended. Thank you!
,
Aug 10 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by jmukthavaram@chromium.org
, Aug 7 2017Labels: hasbisect
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)