DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
Committed: https://crrev.com/f65c9f608caeade772dd9ae7845ed71d2bc4e10a
Cr-Commit-Position: refs/heads/master@{#427196}
Description was changed from ========== DevTools: device mode should preserve orientation and scale when switching ...
4 years, 2 months ago
(2016-10-18 21:21:43 UTC)
#1
Description was changed from
==========
DevTools: device mode should preserve orientation and scale when switching
devices
BUG=656020
==========
to
==========
DevTools: device mode should preserve orientation and scale when switching
devices
Before, switching to a different device in device mode would calculate an
optimal scale that fit the window and load the device's default mode. After this
CL, the scale will be preserved and it will try to load a mode that matches the
last device's orientation.
BUG=656020
==========
New device mode layout test added, please take a look.
4 years, 2 months ago
(2016-10-18 21:26:24 UTC)
#3
New device mode layout test added, please take a look.
dgozman
Nice one! https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html File third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html#newcode22 third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html:22: var dmv = new WebInspector.DeviceModeView(); We use ...
4 years, 2 months ago
(2016-10-19 00:42:45 UTC)
#4
Description was changed from ========== DevTools: device mode should preserve orientation and scale when switching ...
4 years, 2 months ago
(2016-10-20 00:13:39 UTC)
#5
Description was changed from
==========
DevTools: device mode should preserve orientation and scale when switching
devices
Before, switching to a different device in device mode would calculate an
optimal scale that fit the window and load the device's default mode. After this
CL, the scale will be preserved and it will try to load a mode that matches the
last device's orientation.
BUG=656020
==========
to
==========
DevTools: device mode should preserve orientation when switching devices
Before, each device in Device Mode remembered its last orientation. After this
CL, the orientation will preserved if possible when switching devices. When
trying to find a mode that matches the last orientation, it will prioritize the
last used mode. This will not affect responsive mode.
BUG=656020
==========
luoe
Comments addressed. Zoom preservation removed, since it isn't yet clear that we would always want ...
4 years, 2 months ago
(2016-10-20 00:17:08 UTC)
#6
User from the bug now says that they only cared about zoom, and that remembering ...
4 years, 2 months ago
(2016-10-20 20:54:37 UTC)
#7
User from the bug now says that they only cared about zoom, and that remembering
last mode for each device (as we do) is good.
Should we turn autozoom to last-zoom-for-device now instead of this patch
(resorting to autozoom when you first select the device)?
luoe
Sounds good to me. I'll update this patch with last-zoom-for-device.
4 years, 2 months ago
(2016-10-20 21:07:36 UTC)
#8
Sounds good to me. I'll update this patch with last-zoom-for-device.
luoe
Description was changed from ========== DevTools: device mode should preserve orientation when switching devices Before, ...
4 years, 2 months ago
(2016-10-21 00:48:47 UTC)
#9
Description was changed from
==========
DevTools: device mode should preserve orientation when switching devices
Before, each device in Device Mode remembered its last orientation. After this
CL, the orientation will preserved if possible when switching devices. When
trying to find a mode that matches the last orientation, it will prioritize the
last used mode. This will not affect responsive mode.
BUG=656020
==========
to
==========
DevTools: device mode devices remember orientation and zoom
Before, each device in Device Mode remembered its last orientation. After this
CL, the orientation will preserved if possible when switching devices. This will
not affect responsive mode. Additionally, each device will remember its last
used zoom level.
BUG=656020
==========
luoe
Updated CL with "each device remembers its last zoom level". Please take another look
4 years, 2 months ago
(2016-10-21 00:49:27 UTC)
#10
Updated CL with "each device remembers its last zoom level".
Please take another look
dgozman
https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js File third_party/WebKit/LayoutTests/inspector/device-mode.js (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js#newcode1 third_party/WebKit/LayoutTests/inspector/device-mode.js:1: var initialize_DeviceMode = function() On 2016/10/19 00:42:45, dgozman wrote: ...
4 years, 2 months ago
(2016-10-21 20:32:56 UTC)
#11
Description was changed from ========== DevTools: device mode devices remember orientation and zoom Before, each ...
4 years, 2 months ago
(2016-10-22 00:20:17 UTC)
#12
Description was changed from
==========
DevTools: device mode devices remember orientation and zoom
Before, each device in Device Mode remembered its last orientation. After this
CL, the orientation will preserved if possible when switching devices. This will
not affect responsive mode. Additionally, each device will remember its last
used zoom level.
BUG=656020
==========
to
==========
DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
==========
luoe
https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js File third_party/WebKit/LayoutTests/inspector/device-mode.js (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js#newcode1 third_party/WebKit/LayoutTests/inspector/device-mode.js:1: var initialize_DeviceMode = function() On 2016/10/21 20:32:56, dgozman wrote: ...
4 years, 2 months ago
(2016-10-22 01:58:03 UTC)
#13
Description was changed from ========== DevTools: device mode devices remember last used zoom Before, switching ...
4 years, 1 month ago
(2016-10-25 00:54:39 UTC)
#22
Message was sent while issue was closed.
Description was changed from
==========
DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
==========
to
==========
DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
==========
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago
(2016-10-25 00:54:40 UTC)
#23
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
commit-bot: I haz the power
Description was changed from ========== DevTools: device mode devices remember last used zoom Before, switching ...
4 years, 1 month ago
(2016-10-25 00:56:32 UTC)
#24
Message was sent while issue was closed.
Description was changed from
==========
DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
==========
to
==========
DevTools: device mode devices remember last used zoom
Before, switching devices in Device Mode would set the zoom scale to fit the
window. Now, devices will remember their last used mode.
BUG=656020
Committed: https://crrev.com/f65c9f608caeade772dd9ae7845ed71d2bc4e10a
Cr-Commit-Position: refs/heads/master@{#427196}
==========
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f65c9f608caeade772dd9ae7845ed71d2bc4e10a Cr-Commit-Position: refs/heads/master@{#427196}
4 years, 1 month ago
(2016-10-25 00:56:33 UTC)
#25
Issue 2431823002: DevTools: device mode devices remember last used zoom
(Closed)
Created 4 years, 2 months ago by luoe
Modified 4 years, 1 month ago
Reviewers: dgozman
Base URL:
Comments: 11