Open Bug 1639297 Opened 4 years ago Updated 2 months ago

The Firefox webrtc icon is drawing over everything on Ubuntu Linux, including over full screen games

Categories

(Firefox :: Site Permissions, defect, P3)

76 Branch
Desktop
Linux
defect

Tracking

()

People

(Reporter: nissen, Unassigned)

References

Details

(Keywords: priv-triaged)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Im running Ubuntu 20.04 with latest Firefox 78 and after taking part of a videochat on whereby.com with collegues, the icon for webrtc (shown here in this reddit thread: https://www.reddit.com/r/firefox/comments/glw48c/is_there_a_way_to_remove_this_icon/fr11cb6/?context=3) remains.

The icon is drawn over everything, including when playing a game in full screen (firefox not even visible at all). So seems to be some rendering issue that affects ONLY this icon so it keeps being drawn over other apps.

Im using the closed source nvidia drivers if its relevant to this bug.

Expected results:

The icon should not be visible when firefox is not shown.

Its version 76 of Firefox not 78, and im typing this bug on a Macbook but the bug is for Ubuntu which i have on my main computer.

This is intentional to remind users their camera and/or mic are hot (and/or they're screen-sharing), and is not a regression.

Chrome doesn't have this, instead putting a red indicator in the tab header, but Chrome's limited # of tab headers are always visible, whereas Firefox's may be scrolled out of view, so we have no reliable place to put this indicator where we know users can see it, except on Mac. See bug 1412116 comment 2. The intent is to show this indicator even when Firefox is not visible, since the camera and/or microphone are still actively capturing then, which may not be obvious otherwise.

See also other various bugs filed.

I think there's a good argument here to not show it during full-screen at least.

The reddit thread mentions this workaround:

In userChrome.css

#webrtcIndicator {
  display: none;
}

Perhaps we could add a pref to turn it off?

I'm leaving this as P2 since due to some ongoing experiments in this area that might improve things.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Component: WebRTC → Site Permissions
Ever confirmed: true
OS: Unspecified → Linux
Priority: -- → P2
Product: Core → Firefox
Hardware: Unspecified → Desktop
Keywords: priv-triaged
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.