Closed Bug 1643031 Opened 4 years ago Closed 4 years ago

[UX] The browser should focus the sharing web-app when clicking the overlay's "Stop Sharing" button

Categories

(Firefox :: Site Permissions, enhancement, P2)

Desktop
All
enhancement

Tracking

()

VERIFIED FIXED
83 Branch
Tracking Status
firefox-esr78 --- disabled
firefox81 --- disabled
firefox82 --- disabled
firefox83 --- verified
firefox84 --- verified

People

(Reporter: mconley, Unassigned)

References

(Blocks 2 open bugs)

Details

Note

  • When the user engages in a video conference, they share their entire screen and navigate through their other applications or windows, if they click the "Stop Sharing" button, the browser just removes the permission to share screen and leaves the (maybe) ongoing call in the background.
  • They might still be sharing a camera and microphone, even if screen-sharing was stopped.
  • The browser should focus the tab with the still ongoing conference and/or the tab with the actively sharing camera/microphone.

Affected versions

  • Nightly v78.0a1
  • Beta v77.0 (RC)

Affected platforms

  • All

Steps to reproduce
Required prefs:

  • Flip privacy.webrtc.allowSilencingNotifications to true
  • Flip privacy.webrtc.legacyGlobalIndicator to false
  1. Engage in a video conference on any WebRTC web-app.
  2. Open a few other random apps/ other windows.
  3. Start sharing your entire screen.
  4. Focus on a different application window or a different browser window.
  5. Click on the "Stop Sharing" button from the Global Sharing Overlay.

Expected result

  • The user is shown the tab with the actively going meeting.

Actual result

  • The screen sharing permission is removed and the actively going meeting remains in the background

Regression range

  • This is a feature implementation issue; Not reproducible in Release 76 because the user could not remove his screen-sharing permission if he wasn't on the tab that was sharing it.

This bug should be fixed due to the patch in bug 1649032 - can you confirm, dbodea?

Flags: needinfo?(daniel.bodea)
See Also: → 1649032

The issue is somewhat fixed in the latest Nightly, BUT another issue arises: When the user clicks the "Stop Sharing" button, all the sharing permissions are being removed. Only the screen sharing permission should be removed when clicking the "Stop Sharing" button and the microphone and camera permission should still be allowed.

I would call this a partial fix.

Is there something I am missing regarding this behavior? let me know if you want me to do anything (like logging a new bug or something else).

Flags: needinfo?(daniel.bodea)

Good catch - I've filed bug 1654266 for this.

This is fixed in 83.

Flags: needinfo?(mconley)
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mconley)
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch

This fix was verified on Windows 10, Windows 7 and Mac OS 10.15 on Nightly v84.0a1 and Beta v83.0b4.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.