New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 622237 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 632893
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Non-Regression : Unnecessarily "Show device frame" option is enabled for selected Devices

Project Member Reported by mm00333...@techmahindra.com, Jun 22 2016

Issue description

Version: 52.0.2743.49
OS: Ubuntu 14.04, Windows

What steps will reproduce the problem?
(1)Launch chrome -> Go to any page(Ex: chrome://settings)
(2)Now Press F12 to open Dev tools->Click on "Toggle device toolbar" -> Click on  Devices drop down and select "Edit" option
(3)Now check Devices(Ex: Nexus 7, Nexus 6, LG Optimus) -> Now in Emulation Mode select device (Ex:"Nexus 7") -> click on "More Options" and observe "Show device frame" option is enabled 

Expected: If Device Frame is not enabled for custom devices then option "Show device frame"  should be disabled
Actual: Instead "Show device frame" option is enabled for selected Devices


Note: We can observe  "Show device frame" option is disabled for "Responsive" 

This is Non-Regression Issue as "Device Frame" option is introduced from 52.0.2735.0 Build 

Below is the MANUAL CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/52.0.2734.0..52.0.2735.0?pretty=fuller&n=10000

Suspecting https://codereview.chromium.org/1969913002 from Manual Changelog

@dgozman : Please feel free to re-assign if its not related to your change

 
Actual_Options.ogv
3.2 MB View Download
Labels: OS-Mac
Able to reproduce the issue on Mac 10.11.5 using chrome version 52.0.2743.49
Cc: dgozman@chromium.org
Owner: chowse@chromium.org
I'm not sure what's the best thing here. Disabling it would lead to "Hide device frame" being shown but disabled for devices without frame. Chris, any idea? Should we merge this with portrait/landscape/keyboard view somehow?
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 3 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by chowse@chromium.org, Jul 20 2016

Here's the logic I'd apply in the short-term:

* If the selected device doesn't have a frame, then
  * Display the "Show device frame" menu item and disable it
* Otherwise, if showing the device frame is enabled, then
  * Display the "Hide device frame" menu item and enable it
* Otherwise,
  * Display the "Show device frame" menu item and enable it

This will make it clear that a) you can show the frame if the device supports it; b) you cannot show the frame it the device doesn't support it; and c) you can hide the frame if it's shown. The only use case this doesn't support is hiding frames when viewing a device that doesn't support frames, which I'd consider rare (you'd typically want to remove the frame when it's present) and with an easy workaround (switch to a device with a frame and then disable it).

Comment 5 by chowse@chromium.org, Jul 20 2016

Cc: chowse@chromium.org
Owner: dgozman@chromium.org
Mergedinto: 632893
Status: Duplicate (was: Assigned)

Sign in to add a comment