New issue
Advanced search Search tips

Issue 645478 link

Starred by 36 users

Issue metadata

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



Sign in to add a comment

DevTools: <select>s broken in device emulation

Reported by mst3k...@gmail.com, Sep 9 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36

Steps to reproduce the problem:
1. New Incognito window
2. Go to https://www.diffchecker.com/
3. Hit F12 for dev tools
4. Toggle device toolbar to enable emulation
5. Click on dropdown menu

What is the expected behavior?
The dropdown should display the list of items.

What went wrong?
Instead it shows a black box offset to the right of the emulator. If the Chrome window is not maximized, the black box can appear outside of the Chrome window.

Did this work before? Yes Chrome 52

Chrome version: 53.0.2785.89  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0

When not using device emulation, the dropdown menu works correctly.

This machine is using Intel HD 4400 video card with driver 20.19.15.4444 from 4/22/2016.
Have also duplicated this issue on a Windows 7 x64 machine with an Intel HD 4000 video card on the latest driver.
Came across similar but different behavior on a Windows 7  x64 machine with an AMD Radeon HD 5650 with the latest driver. The page blinks, but there's no black box or dropdown menu.
 
chrome_2016-09-09_11-07-13.png
227 KB View Download

Comment 1 by exa...@gmail.com, Sep 9 2016

After restarting I no longer receive the black box. However dropdowns still do not function in mobile emulation. This happens for me in both normal and incognito windows.  
Components: Platform>DevTools>Mobile
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Summary: DevTools: <select>s broken in device emulation on Windows 10 (was: In-page dropdown menus display black box when using device emulation)
Interesting! I don't believe we have this problem on mac/linux. Can you try the same thing on a friend's Windows machine?

Anyone else starring this bug, can you also provide a screenshot or video of the bug? Are you also on windows 10? Thanks.

dgozman, looks like some aspect of emulation is messing with the display of <select>s on Windows 10.

Comment 3 by exa...@gmail.com, Sep 12 2016

My work computer experienced this which was on windows 7, my home computer also experiences this which is on windows 10. 
Summary: DevTools: <select>s broken in device emulation on Windows (was: DevTools: <select>s broken in device emulation on Windows 10)

Comment 5 by mst3k...@gmail.com, Sep 12 2016

Please see a video of the issue attached below.
2016-09-12_08-40-06.mp4
879 KB View Download
 Issue 643643  has been merged into this issue.
Another repro case:

http://webprime.org/chrome-issue/test.html
nc

Comment 9 by phistuck@gmail.com, Sep 14 2016

It might be related to number of screens (monitors). I have two monitors. If I click on the select on the non-default (left) monitor, I do not see a black box, but I also do not see a dropdown. If I move the window to the default (right) monitor, I see the black box.

Comment 10 by phistuck@gmail.com, Sep 14 2016

Even the simplest of cases triggers this -
data:text/html,<!doctype html><select><option>2</option><option>4</option></select>
experiencing the same since my browser update today
Capture.PNG
235 KB View Download

Comment 12 by tkent@chromium.org, Sep 26 2016

 Issue 649282  has been merged into this issue.

Comment 13 by tkent@chromium.org, Sep 26 2016

Labels: -Type-Bug Type-Bug-Regression
Labels: OS-Linux
Summary: DevTools: <select>s broken in device emulation (was: DevTools: <select>s broken in device emulation on Windows)
I'm seeing this in Linux in version 55.0.2873.0 (Official Build) dev (64-bit) running on Kubuntu 16.04 fully updated. However, instead of a black box the select box shows up massive and far to the lower-right corner of Device Mode.

Single-monitor running an Intel integrated GPU. Not sure of the exact version on the GPU side, but the CPU package is the I5-M560.

Reproduction steps:

In Omnibar insert:

data:text/html,<!doctype html><select> <option>1</option> <option>2</option> <option>3</option> </select> <style type="text/css"> select { width: 100%; font-size: 120px; } </style>

Then open device mode and select Nexus 5X for emulation and refresh to be safe.
Selection_002.png
14.3 KB View Download
I have a similar problem. When device emulation is active dropdowns won't open.
That started when I updated to the latest version of Chrome.

I have Windows 10 Pro (English) x64, Chrome 53.0.2785.116m.
PC: Intel i7-5557U, video Intel Iris Graphics 6100 (driver from Intel Corporation, version 20.19.15.4380)

Comment 16 by tkent@chromium.org, Sep 29 2016

 Issue 648966  has been merged into this issue.

Comment 17 by tkent@chromium.org, Sep 29 2016

Labels: Needs-Bisect
The linked issue had the same problem on a Mac, someone needs to update the OS list here. That makes it a full three-way break.
Labels: OS-Mac
Something is very very wrong. Depending on where I put Chrome, with dev tools open and mobile view on, when I click the drop down on the DiffChecker.com web site I get a white square appearing *outside the Chrome window*. It is not even at a consistent offset. See these two screen shots.
pos1.png
2.3 MB View Download
pos2.png
2.4 MB View Download
We have the same problems on All android device using Chrome. Uou web application is developped with ionic 1. before everything works well!

Comment 22 by phistuck@gmail.com, Sep 29 2016

Please, just star the issue instead of adding comments that pretty much repeat everything else. The issue was reproduced and it is being investigated.
Cc: dgozman@chromium.org
Components: Blink>Forms
Labels: -Needs-Bisect M-55 hasbisect
Owner: bokan@chromium.org
Was able to reproduce the issue using below urls on Windows and Linux, but not on Mac though.
1) https://www.diffchecker.com/
2) http://webprime.org/chrome-issue/test.html
3) data:text/html,<!doctype html><select><option>2</option><option>4</option></select>
4) data:text/html,<!doctype html><select> <option>1</option> <option>2</option> <option>3</option> </select> <style type="text/css"> select { width: 100%; font-size: 120px; } </style>

Bisect info, could not perform tool bisect as its broken in the branch.
=============---------------------------------------------------
Good : 53.0.2785.76 
Bad : 53.0.2785.77

Change Log:
https://chromium.googlesource.com/chromium/src/+log/53.0.2785.76..53.0.2785.77?pretty=fuller&n=10000

Possible Suspect : https://codereview.chromium.org/2265923002
bokan@ : Could you please take a look into this if its related to your change.

Comment 24 by bokan@chromium.org, Sep 30 2016

Mergedinto: 642349
Status: Duplicate (was: Assigned)
Sorry for the breakage folks, I'm aware of the issue and looking into it.
I am also getting the same issue in mobile mode. The dropdown is not opened in mobile mode using dev tool simulator but it works in Desktop mode. In addition in chrome 53, I am trying to open a dropdown using keyboard event in Desktop mode but it does not work and it works as expected in chrome 49.
This is the code i am using for dropdown keybord functionality.

element.on("keydown", onKeyDown);

function onKeyDown() {
          var elem=angular.element(element.find('select'));
          var e = document.createEvent("MouseEvents");
          e.initMouseEvent("mousedown", true, true, window, 0, 0, 0, 0, 0,false, false, false, false, 0, null);
         elem.dispatchEvent(e);
}

any ideas?
#25 -
1. Please, just star  issue 642349  instead of re-reporting it in the comments.
2. The dispatch-keyboard-event-to-open-select-box regression is intentional. See 423975 for details.
I am still experiencing this issue as of Chrome 55. I see that this is marked as duplicate and the other issue is closed. The problem is not resolved, it still exists.

Comment 28 by phistuck@gmail.com, Jan 13 2017

#27 - please, file a new issue for it with as much details as possible (a screenshot, the DPI of your operating system, your operating system name and version, any non-default graphics/resolution setting you enabled on your browser or operating system, the number of monitors you have, whether it happens in all of the monitors or only some and output from about:gpu).
You can reply with the new issue number.
I have the same issue with drop-downs on my Chrome on Ubuntu. And this is annoying, as I am a QA in an IT company and I have to show demos to Clients using emulator, but I am not able to select anything! 
Please see the attached screenshot. It would be very helpful if you resolved the issue.
Screenshot from 2017-01-26 14-27-06.png
262 KB View Download

Comment 30 by phistuck@gmail.com, Jan 26 2017

#29 - Chrome 54 already has the fix (see  issue 642349 ). Please, make sure you are using the latest version (56, released today or yesterday).
If you are still seeing this despite using the latest version (56), please, file a new issue.

Sign in to add a comment