Closed Bug 1646958 Opened 5 years ago Closed 5 years ago

The text on the Global Sharing Overlay (when sharing screen) is not displayed correctly when in high contrast on Windows/dark theme on Linux

Categories

(Firefox :: Site Permissions, defect, P1)

Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
Firefox 80
Tracking Status
firefox78 --- disabled
firefox79 --- disabled
firefox80 --- verified

People

(Reporter: danibodea, Assigned: mconley, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

Note

  • When the user activates high contrast and shares his screen in a conference, he will notice that the text on the Global Sharing Overlay is not being displayed.

Affected versions

  • Nightly v79.0a1
  • Beta v78.0b9 shows this behavior: bug 1643012

Affected platforms

  • Windows 10
  • Windows 7

Steps to reproduce

  1. Make sure prefs
    privacy.webrtc.allowSilencingNotifications = true
    privacy.webrtc.legacyGlobalIndicator = false
  2. Apply a high contrast theme from OS settings.
  3. Engage in a video conference on ant WebRTC web-app.
  4. Share a screen or a window.
  5. Observe the Global Sharing Overlay.

Expected result

  • The Global Sharing Overlay is correctly displayed.

Actual result

  • The text displayed on the Global Sharing Overlay is improperly displayed.

Regression range

  • This is an issue with the newly implemented design seen in Nightly v79.0a1.

Additional notes

  • The text will be displayed on yellow, green or not visible at all, based on the High Contrast theme applied.
Severity: -- → S3

The exact same issue occurs when setting a dark theme on Ubuntu in Nightly v79.0a1 (the "You are sharing..." text is improperly displayed). Should I log a separate bug?

OS: Windows → Unspecified
Priority: -- → P1
Summary: The text on the Global Sharing Overlay (when sharing screen) is not displayed correctly when in high contrast on Windows → The text on the Global Sharing Overlay (when sharing screen) is not displayed correctly when in high contrast on Windows/dark theme on Linux
Mentor: mconley

Test message for the stream.

Flags: needinfo?(mconley)

Here's the answer, welcome to the bug, 12345

Flags: needinfo?(mconley)

My current patch (which I'll post shortly) renders the indicator like the screenshot in high contrast mode now.

Thanks to Youri Wims who helped put this together with me.

Attachment #9160973 - Attachment description: Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode or using a dark theme on Linux. r?pbz → Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode on Windows or using a dark theme. r?pbz
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Attachment #9160973 - Attachment description: Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode on Windows or using a dark theme. r?pbz → Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode on Windows, a dark system theme on Linux, or using a lightweight theme. r?ntim
Attachment #9160973 - Attachment description: Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode on Windows, a dark system theme on Linux, or using a lightweight theme. r?ntim → Bug 1646958 - Fix styling for WebRTC indicator when in High Contrast mode on Windows, or the user is using a dark theme. r?ntim!
Attachment #9161051 - Attachment is obsolete: true
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49c8ba00b68b Fix styling for WebRTC indicator when in High Contrast mode on Windows, or the user is using a dark theme. r=ntim
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80

The patch landed in nightly and beta is affected.
:mconley, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mconley)

The Global Sharing Overlay now properly displays all the buttons and texts. The "Stop Sharing" button may change its shape depending on whether the text is displayed on 2 rows or not, however, the functionality of the Global Sharing Overlay remains intact.

I deem this bug verified. Tested on Windows 10, Windows 7 and Ubuntu 20 (dark theme), on Nightly v80.0a1 from 2020-07-14.

Status: RESOLVED → VERIFIED
Flags: needinfo?(mconley)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: