Bug 272143
| Summary: | [MacOS, Safari] The screen is not being shared if the User attempts to share the screen using the "Share" button on the "Sharing options menu" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Madara Freimane <madara.freimane> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Critical | CC: | ahmad.saleem792, eric.carlson, jer.noble, kristaps.mudurs, renars.r.hartmanis, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 14 | ||
Madara Freimane
Summary:
The screen is not being shared if the User attempts to share the screen using the "Share" button on the "Sharing options menu"
Tested devices and browsers:
The bug is reproducible on:
- MacBook Pro (M1, 2020, macOS 14.4.1) and Safari (17.4.1 (19618.1.15.11.14))
- MacBook Pro (M1, 2020, macOS 14.4.1) and Safari Technology Preview (Release 191 (Safari 17.4, WebKit 19619.1.6.3))
- MacBook Pro (M1, 2020, macOS 14.5 Beta (23F5049f)) and Safari (V17.5 (19618.2.4.11.2))
Use case:
Precondition:
Safari browser opened on macOS
Steps:
1. User joins WebRTC call with video ON
2. User clicks on the "Screen share" button
3. User clicks on the "Screen" button in the "sharing options menu" that appearead when User clicked on the "Screen share" button in the call
4. Other call participants observes if the screen share from User who tried to share the screen is available
Actual result:
The screen is not being shared if the User attempts to share the screen using the "Share" button on the "Sharing options menu":
- with some services: the "Screen share" button is marked as active on the UI side, but the screen is not being shared and the other users in the call do not see the shared screen (Skype, Zoom)
- with some services: pop-up "Can't share your screen, you must grant permissions in order to share your screen.." appears although all permissions are granted already (Google Meets)
Expected result:
The screen is shared immediately when the User tries to do it and wants to do it through the "Sharing options menu"
Reproducibility:
100%
Additional information:
- Using Safari Technology Preview (Release 191 (Safari 17.4, WebKit 19619.1.6.3)): If the screen share fails, the button becomes inactive, and I have to leave the call and rejoin it to be able use again the "Screen share" button.
- Also observed that using the "Presenter Overlay" options, screen is not shared.
- Bug is not reproducible if User tries to share the screen using the "Toast notification" - "Share This Screen", in that case - screen is shared.
Sysdiagnostics file added:
Bug reproduced at 11:12am (EET), (Apr 4, 2024) -
sysdiagnose_2024.04.04_11-12-42+0300_macOS_MacBookPro17-1_23E224.tar.gz
https://drive.google.com/file/d/1KX3j8ns62SbVNdIYdwK2T9NXYoPyLDJC/view?usp=sharing
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125924397>
Ahmad Saleem
@Madara,
Can you share website or link where you are facing this issue so we can try to reproduce this?
Additionally, I have requested access to Google Drive link (if it contains more information), appreciate if you can grant me permission or make it public so other engineers can also look into it.
Thanks!
Madara Freimane
Hi Ahmad!
I gave you an access to a sysdiagnostics file. The actual results section mentions services and their behaviors observed when trying to share screen using the Safari browser. When try to reproduce a problem - click on the "Share" button while in the call using the one of the mentioned service, and then on the "Share" button in the "Sharing options menu" that appears through the Mac's menu bar.
Ahmad Saleem
@Madara - thanks a lot for sharing 'sysdiagnose', will inform tag engineer(s).
Eric Carlson
@Madara From the WebKit logging in the sysdiagnose it looks like you tried to share the screen two times, the first failed almost instantly and the second succeeded and was stopped 10 seconds later, but it is difficult to tell why the first failed or if the second was cancelled by you or by script.
Can you please reproduce again while capturing a screen recording with QuickTime Player and capture another sysdiagnose. This will help us correlate the sysdiagnose timestamps with what happens on screen (please configure your menubar clock to show hours, minutes, and seconds).
> - with some services: pop-up "Can't share your screen, you must grant permissions in order to share your screen.." appears although all permissions are granted already (Google Meets)
I don't know what this means, can you please include this in the session you capture in the screen recording?
Please upload the screen capture and sysdiagnose and give Ahmad access.
Thank you for reporting the problem and for helping us figure it out.
Madara Freimane
The folder that contains screen recording how to reproduce a bug and a new sysdiagnostics file available (shared with Ahmad):
https://drive.google.com/drive/folders/1lBXRRuXN-KLVDy3PIGNjO43PEusyRONC?usp=sharing
Tested device and browser:
- MacBook Pro (M1, 2020, macOS 14.4.1 (23E224)) and Safari (V17.4.1 (19618.1.15.11.14))
kristaps.mudurs
Hi!
This issue can still be reproduced with:
- MacBook Pro (M1, 2020) MacOS Sonoma(14.7) and Safari (V18.0.1 (19619.1.26.111.11, 19619))
Renārs Ričards Hartmanis
Hi!
This issue is no longer reproducible with:
- MacBook Pro (M1, 2020, macOS 15.6.1) and Safari (18.5(20621.2.5.11.8)
Additional info:
It seems it is because Safari version 18.5 now has different screen share options menu and screen sharing is working