Bug 255080 - getDisplayMedia:[Ventura Safari 16.3] Unable to share the "Screen" as "Share this Screen" dialog doesn't appear.
Summary: getDisplayMedia:[Ventura Safari 16.3] Unable to share the "Screen" as "Share ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-05 23:31 PDT by vinayak.kulkarni
Modified: 2023-05-16 07:36 PDT (History)
5 users (show)

See Also:


Attachments
The zip file has the recordings when trying to "Share the Screen" and "Share the Window" (408.25 KB, application/x-zip-compressed)
2023-04-05 23:31 PDT, vinayak.kulkarni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description vinayak.kulkarni 2023-04-05 23:31:36 PDT
Created attachment 465794 [details]
The zip file has the recordings when trying to "Share the Screen" and "Share the Window"

Steps:
1. Go to https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia/
2. Click on "Start"
3. Click on "Allow to Share Screen" and wait.
Observations: The dialog "Share this Screen" doesn't appear, even if we wait for more than 30s and hover the mouse on the screen.
4. Refresh the page and Click on "Start"
5. Clicking on "Allow to Share Window" 
Observations: Dialog is appearing immediately and will start sharing the window once the dialog is clicked.

Additional Observation: In the non working case, there is no error returned by getDisplayMedia API as well, it neither rejects nor resolves but is just stuck. This is blocking users to Share the Screen on Safari on Ventura. 

Please let us know if there is a work around we can try to solve this or handle the scenario better on the application side.

Reproducibility rate: Issue is intermittent and frequency is high on few system(real system) and on few system(Ventura browser stack VM) issue is 100% reproducible.

Attaching the videos of the M1 Mac Machine (Ventura 13.2.1, Safari 16.3)
Allow to Share Window.mp4
Allow to Share Screen.mp4
Comment 1 Radar WebKit Bug Importer 2023-04-06 07:01:04 PDT
<rdar://problem/107707248>
Comment 2 vinayak.kulkarni 2023-04-21 07:07:51 PDT
Team, please let us know if there is any update on this and/or if you need any more information on this to proceed. Thanks!
Comment 3 youenn fablet 2023-05-16 07:34:15 PDT
Could you provide a sysdiagnose and send it to me (youenn@apple.com) with the timestamp of the reproducing issue?
Comment 4 youenn fablet 2023-05-16 07:36:30 PDT
FWIW, I was not able to reproduce locally.