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

Issue 823711 link

Starred by 12 users

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Desktop capturer screen preview name not match screen order in OS

Reported by serejkas...@gmail.com, Mar 20 2018

Issue description

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

Steps to reproduce the problem:
1. Collect screens to share using desktopCapturer API
2. Observe screen names.

What is the expected behavior?
"Screen 1" should match main screen in OS.

What went wrong?
Screen id in name given randomly.

Did this work before? N/A 

Chrome version: 65.0.3325.162  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

Sample app that could help to reproduce issue https://chrome.google.com/webstore/detail/desktop-capture-sample/mhkidniocjdaiddjckopkigjmjbadfji
 
Chrome65.png
688 KB View Download
It is reproducible also with Windows 7 or 10 and chrome 65 
Components: UI
Labels: Needs-Triage-M65
Components: -UI Blink>GetUserMedia>Desktop
Labels: -Type-Bug -Pri-2 Target-67 RegressedIn-61 Triaged-ET Target-66 M-67 FoundIn-66 FoundIn-67 Target-65 FoundIn-65 hasbisect OS-Windows Pri-1 Type-Bug-Regression
Owner: zijiehe@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on reported version 65.0.3325.162, the issue is seen on latest stable# 65.0.3325.181, beta# 66.0.3359.81 and latest chrome# 67.0.3394.0 using Windows-10, hence providing manual Bisect Info from Omaha proxy
Note: While running bisect on the tool, the builds which got invoked got crashed immediately, hence providing manual bisect info, as ET team has dual monitor setup only on Windows-10 hence not updating the behaviour related to Ubuntu 14.04 and Mac 10.12.6.
Bisect Info:
================
Good build: 61.0.3150.0
Bad build: 61.0.3152.0

Change Log: https://chromium.googlesource.com/chromium/src/+log/61.0.3150.0..61.0.3152.0?pretty=fuller&n=10000
Commit: https://chromium.googlesource.com/chromium/src/+/56efe642b5d1fc400ac7f34451d9a540f9d30fbb
Review-Url: https://codereview.chromium.org/2961193002

@zijiehe: Please confirm the issue and help in re-assigning if it is not related to your change.

Thanks!

Cc: zijiehe@chromium.org
Owner: braveyao@chromium.org
I believe the change mentioned in #c5 does not relate to this issue. But the order of the screens is controlled by screen capturer component in WebRTC.

Brave Yao (BraveYao@) may have a look at this issue. But I doubt the importance of it.
The screen names from display configuration do not match the orders from Windows API. I believe the order returned by Windows API usually depends on the video adapters.
Can't reproduce this issue on either Win10 laptop + dock(thunderbolt) or Win10 desktop.
In my setting-up, the screen sequence is decided by the connection jacks, so does the desktopCapture enumeration. See the enclosed screenshot.

I wonder if any USB display adapter is used in your environment?
Capture.PNG
527 KB View Download
Status: WontFix (was: Assigned)
> I wonder if any USB display adapter is used in your environment?
DVI, VGA, HDMI, DP.

Did you tried to change order? does WebRTC sample reflect correctly this changes?
Yes, as the enclosed screenshot shows, still good.

Any, the sequence depends on how OS returns our query.
Capture.PNG
305 KB View Download

Sign in to add a comment