New issue
Advanced search Search tips

Issue 656020 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Feature



Sign in to add a comment

maintain device mode zoom and orientation when switching between devices

Reported by kaycebas...@gmail.com, Oct 14 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2889.0 Safari/537.36

Steps to reproduce the problem:
1. view a page in device mode
2. select "Galaxy S5"
3. change orientation to landscape
4. select "Nexus 5X"

What is the expected behavior?
zoom stays at 100% and orientation stays in landscape

What went wrong?
zoom changes to 75% and orientation reverts to portrait

Did this work before? N/A 

Chrome version: 56.0.2889.0  Channel: canary
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0

I didn't test all permutations. 

Weirdly enough, when you switch to "iPhone 6", it switches back to the correct configuration
 
device-mode-quirks.gif
611 KB View Download
this is a community request: https://twitter.com/AlfonsoML/status/786579335733837824

Comment 2 by alph@chromium.org, Oct 14 2016

Labels: -Type-Bug Type-Feature
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: dgozman@chromium.org
Owner: l...@chromium.org
Eric, could you please take a look?

Comment 4 by l...@chromium.org, Oct 18 2016

Status: Started (was: Assigned)

Comment 5 by l...@chromium.org, Oct 20 2016

There is now a CL in review to make orientation preserved across switching devices!  https://codereview.chromium.org/2431823002/

For zoom preservation, I think this is less clear to me.  The current fit-to-window logic supports devs who want to see the entire device.  This makes it easy to quickly see how a site looks overall, especially when switching between phone/tablets.

Please help us understand if there's a strong use case to make zoom preserved as well.  We can also see if there are more stars / opinions for turning off auto-fit-to-window.

Comment 6 by aml...@gmail.com, Oct 20 2016

My original tweet was only about zoom, not about the device orientation. When I'm trying to check that the elements are right, for me it's much better a 100% view instead of a zoomed blurry view where I can't check things correctly.

I doubt that this issue would get many starts because I don't think that the most of the developers will even find it to step up and agree or disagree with it.

The best solution would be something "intelligent", like remember the last option that the user has selected in the zoom combo instead of resetting it (ie: don't reset to neither 100% or autozoom), or even remember the zoom factor of each device.

Surely there are correct use cases for both autozoom and 100% zoom, so any solution that forces one of them will cause pain for the developers that want the other situation.

At the moment I think that remembering zoom  and rotation of each device might be the best solution.

Comment 7 by l...@chromium.org, Oct 20 2016

Sounds good to me.  I'll update the CL with last-zoom-for-device, where each device remembers the last zoom it used.

Comment 9 by l...@chromium.org, Oct 25 2016

Status: Fixed (was: Started)

Sign in to add a comment