Closed Bug 1708154 Opened 3 years ago Closed 3 years ago

Mute/Unmute icons aren't displayed correctly on Ubuntu 20.04 using system theme

Categories

(Firefox :: Tabbed Browser, defect, P2)

Firefox 90
All
Linux
defect

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox88 --- disabled
firefox89 --- verified
firefox90 --- verified

People

(Reporter: hyacoub, Assigned: jaws)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-tabs-bar] [priority:2b] [proton-uplift])

Attachments

(2 files)

Attached image Ubuntu system theme.png

Affected versions

Firefox 90.0a1

Affected platforms

Ubuntu 20.04 x64

Steps to reproduce

  1. Open Firefox.
  2. Play a video on youtube.
  3. Pin the tab.
  4. Mute and unmute the tab.
  5. Observe play/mute icon.

Expected result

Mute/Unmute icons should be displayed correctly on Ubuntu 20.04 using system theme.

Actual Result

Mute/Unmute icons aren't displayed correctly on Ubuntu 20.04 using system theme.

Note

The issue is only reproducible using System theme.
Ubuntu window colors: Light and Standard/

Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attachment #9219003 - Attachment description: Bug 1708154 - Account for Linux System theme styling that uses a mix of Light and Dark mode when setting the stroke on the pinned tab audio icons. → Bug 1708154 - Set the fill color at the same time as setting the stroke to make sure there will always be proper foreground/background contrast.
Priority: -- → P2
Whiteboard: [proton-tabs-bar] → [proton-tabs-bar] [priority:2b]
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/19e634663e84
Set the fill color at the same time as setting the stroke to make sure there will always be proper foreground/background contrast. r=desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

This is set at priority:2b and is a CSS change, is that something we should uplift to beta or do we let it ride the 90 train? Thanks

Flags: needinfo?(jaws)

Verified on Firefox Nightly 90.0a1 (2021-05-04) on Ubuntu 20.04 x64.

This is a simple CSS change and not uplifting it to beta will introduce extra complexity when uplifting some icons changes (bug 1706084). I think we should reconsider marking this as wontfix for Firefox89.

Flags: needinfo?(jaws) → needinfo?(rtestard)

(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #6)

This is a simple CSS change and not uplifting it to beta will introduce extra complexity when uplifting some icons changes (bug 1706084). I think we should reconsider marking this as wontfix for Firefox89.

Thanks for the ping, agreed that if uplift is low risk and makes icon changes simpler we should do it.
OK to uplift to 89.

Flags: needinfo?(rtestard)

jared, could you request the uplift? Thanks

Flags: needinfo?(jaws)

Comment on attachment 9219003 [details]
Bug 1708154 - Set the fill color at the same time as setting the stroke to make sure there will always be proper foreground/background contrast.

Beta/Release Uplift Approval Request

  • User impact if declined: Mute and unmute icons in tabs won't appear correct on Linux when using the default theme
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small, well-contained, CSS-only patch that only affects tab badges.
  • String changes made/needed: None.
Attachment #9219003 - Flags: approval-mozilla-beta?

Comment on attachment 9219003 [details]
Bug 1708154 - Set the fill color at the same time as setting the stroke to make sure there will always be proper foreground/background contrast.

Low risk, blocks uplifting bug 1706084, , approved for 89 beta 10, thanks.

Attachment #9219003 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [proton-tabs-bar] [priority:2b] → [proton-tabs-bar] [priority:2b] [proton-uplift]

Verified as fixed on Ubuntu 20.04 x64 on Firefox 89.0b10.

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

Attachment

General

Created:
Updated:
Size: