New issue
Advanced search Search tips

Issue 700037 link

Starred by 8 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Desktop Capture Media Picker does not allow sharing of UWP applications.

Reported by daniel...@gmail.com, Mar 9 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
Steps to reproduce the problem:
1. Open an Windows 10 UWP application (e.g. Weather, News or Money).
2. Open Google Hangouts (https://hangouts.google.com/).
3. Establish a video call.
4. Select "Screen Share" (Desktop Capture API).
5. Select "Application Window" tab.
6. The UWP application is not available to be shared.

What is the expected behavior?
The media Picker should show the UWP application, to be selected to be shared.

What went wrong?
UWP applications do not show up in the desktop media picker, and therefore they cannot be shared.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 56.0.2924.87  Channel: stable
OS Version: 10.0
Flash Version:

 
Labels: Needs-Triage-M56
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback
Tested in chrome # 56.0.2924.87 Stable #57.0.2987.98 and Canary #59.0.3042.0 on win 10.0 & 7 and not able to reproduce the issue.Please find the screen shots for your reference.

@danielp78: Could you please let me know if i have missed anything and if possible,please create new profile without extensions and apps.Re-check once in latest stable ##57.0.2987.98/Canary #59.0.3042.0 and let us know the observations of the issue which would help us to triage the issue further.

Thanks in Advance.
700037.PNG
714 KB View Download

Comment 3 by daniel...@gmail.com, Mar 17 2017

Thanks for checking, but no, it does not work with Chrome 57. I tried with 57.0.2987.98 (64-bit) in Windows 10. I tried in several different machines.

Maybe I was not very clear, but I am not trying to share a Chrome window with some weather website loaded, that works well.

The issue occurs with all UWP (Universal Windows Platform) apps (aka as Metro apps or Windows Store apps), such as Weather, Calculator, Money, News, etc.

Let me know if you have any other questions or if there are any logs that I can send.
700037 screenshot.PNG
933 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 17 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rbasuvula@chromium.org" to the cc list and removing "Needs-Feedback" label.

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

Comment 5 by daniel...@gmail.com, Apr 24 2017

I just tried this again with Version 58.0.3029.81 (64-bit) and it still does not work.

Comment 6 by jan.eg...@gmail.com, Apr 27 2017

Looks the same as https://bugs.chromium.org/p/chromium/issues/detail?id=526883, doesn't it?

Comment 7 by daniel...@gmail.com, Apr 27 2017

After reading https://bugs.chromium.org/p/chromium/issues/detail?id=526883 it seems like these windows are marked as "non-shareable". Please confirm.

If so, any idea why these windows are "non-shareable"? The BitBlt Windows API should work on these windows. There may be some issues when other windows are placed on top of it, but there are probably workarounds for that.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd183370(v=vs.85).aspx
Components: Blink>GetUserMedia>Desktop
Owner: braveyao@chromium.org
Status: Available (was: Unconfirmed)
Brave, can you update with current status, they are shared when they are topmost, right?
Found no evidence that BitBlt() can capture those Metro apps.

We exclude those Metro apps here, https://cs.chromium.org/chromium/src/third_party/webrtc/modules/desktop_capture/window_capturer_win.cc?type=cs&sq=package:chromium&l=61.
If we include them in the picker, at present only black thumbnails for them. Another issue is some Metro apps running in background will be enumerated too, such as Setting, which should be filtered out. 

Skype can share those Metro apps though, when they are topmost. The strange thing is Skype can always get the content of the metro apps in thrumbnails, no matter they're on top or not. But during sharing, the shared window must be topmost. It seems that Skype still does cropping to those windows when they are on top during sharing, but uses some secret API to get their content(maybe due to low performance?) to thrumbnails.

If anyone knows how Skype manages to do it, please let us know.
 Issue 791502  has been merged into this issue.
Status: Assigned (was: Available)
Cc: huib@chromium.org jansson@chromium.org rantonysamy@chromium.org emir...@chromium.org
 Issue 915166  has been merged into this issue.

Sign in to add a comment