Closed Bug 1913053 Opened 2 months ago Closed 2 months ago

When folder(s) and/or bookmark(s) in the sidebar are selected and have focus, the background color of the items turns light gray (#F0F0F0), while the text color turns white, making it almost impossible to see the text when using the Light theme.

Categories

(Firefox :: Theme, defect, P1)

Firefox 130
defect

Tracking

()

VERIFIED FIXED
131 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox129 --- unaffected
firefox130 --- verified
firefox131 --- verified

People

(Reporter: CKOTTMozillaBugzilla, Assigned: dao)

References

(Regression)

Details

(Keywords: nightly-community, regression, Whiteboard: [fidefe-sidebar])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Steps to reproduce:

Right-click on a folder or bookmark in the sidebar to select it.

Actual results:

The folder/bookmark name text turns white, and the text background turns light gray (#F0F0F0), which makes it almost impossible to see the text when using the Light theme.

Expected results:

The text background should turn a darker color, with sufficient contrast to make the white text easy to read. Previous versions of Firefox used a shade of blue for the text background.

I just verified that, using Firefox 127.0 64-bit, the text turns white, but the background turns blue (#0078D7).

Note: This only happens in the sidebar. When using the Library, the text background still turns blue (#0078D7).

The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Theme

I just tested v.128 and v.129 of Firefox (release), and the background color is still blue, so it seems that v.130 is the first version to be affected.

:nsharpley, since you are the author of the regressor, bug 1886847, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(nsharpley)
Whiteboard: [fidefe-sidebar]

Thanks for reporting! Working on a fix.

Flags: needinfo?(nsharpley)
Assignee: nobody → nsharpley
Assignee: nsharpley → dao+bmo
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P1
Attachment #9419223 - Attachment description: WIP: Bug 1913053 - Use the sidebar text color along with the fallback background on selected rows for themes not setting highlight colors. r=emilio → Bug 1913053 - Use the sidebar text color along with the fallback background on selected rows for themes not setting highlight colors. r=emilio
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b7336d4bb14 Use the sidebar text color along with the fallback background on selected rows for themes not setting highlight colors. r=nsharpley,emilio,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch

The patch landed in nightly and beta is affected.
:dao, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox130 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

Comment on attachment 9419223 [details]
Bug 1913053 - Use the sidebar text color along with the fallback background on selected rows for themes not setting highlight colors. r=emilio

Beta/Release Uplift Approval Request

  • User impact if declined: see comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: please see comment 0
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Fairly straightforward CSS-only fix
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(dao+bmo)
Attachment #9419223 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Comment on attachment 9419223 [details]
Bug 1913053 - Use the sidebar text color along with the fallback background on selected rows for themes not setting highlight colors. r=emilio

Approved for 130.0b7.

Attachment #9419223 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Reproduced the issue on Firefox 131.0a1 (2024-08-13) on macOS 14.6.1 by following the STR from Comment 0.

The issue is fixed on Firefox 131.0a1 (2024-08-19). Tests were performed on macOS 14.6.1, Windows 11 and Ubuntu 24.04.

Will verify on 130.0b7 once it is available on treeherder.

QA Whiteboard: [qa-triaged]
Flags: qe-verify+

Verified that the issue is fixed as well on Firefox 130.0b7 (treeherder build). Tests were performed on macOS 14.6.1, Windows 11 and Ubuntu 24.04.

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

Attachment

General

Created:
Updated:
Size: