Closed Bug 1961043 Opened 8 months ago Closed 8 months ago

text in history sidebar invisible

Categories

(Firefox :: Sidebar, defect)

Firefox 128
defect

Tracking

()

VERIFIED FIXED
140 Branch
Tracking Status
firefox138 --- wontfix
firefox139 --- verified
firefox140 --- verified

People

(Reporter: hramrach, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(5 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0

Steps to reproduce:

Apply BlackMATE OS theme, open history sidebar

Actual results:

text invisible

Expected results:

text visible

Attached image image.png

history dropdown: correct, black on white
view dropdown, history entries: bad, white on white

looking glass icon: correct, light on dark backgdound
search text: bad, black on dark

Component: Untriaged → Sidebar
Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fidefe-sidebar]

Nothing has changed recently with regards to theming variables for the legacy sidebar AFAIK, and since we're actively rolling out the new sidebar very soon we won't be investing more into the old one.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → WONTFIX

Well this is the system theme, it also happens with the revamped sidebar.

Status: RESOLVED → REOPENED
Component: Sidebar → Widget: Gtk
Product: Firefox → Core
Resolution: WONTFIX → ---

Actually I thought this was the wrong system colors but it's not.

Component: Widget: Gtk → Sidebar
Product: Core → Firefox

Emilio, since you were able to verify this with sidebar.revamp flipped can you post a screenshot of what this looks like on the new sidebar please?

Flags: needinfo?(emilio)

The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.

Priority: P3 → --

I had actually attached a patch, but seems it got stuck in draft state: https://phabricator.services.mozilla.com/D247062

Flags: needinfo?(emilio)

Otherwise we get -moz-dialogtext which may not have enough contrast with
the -moz-sidebar background.

Assignee: nobody → emilio
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1089c6f7e9f8 Use the right text color for sidebar panels. r=sidebar-reviewers,desktop-theme-reviewers,places-reviewers,dao,nsharpley,adw
Status: REOPENED → RESOLVED
Closed: 8 months ago8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

(In reply to Emilio Cobos Álvarez (:emilio) from comment #10)

Created attachment 9484233 [details]
Bug 1961043 - Use the right text color for sidebar panels. r=#sidebar-reviewers

Otherwise we get -moz-dialogtext which may not have enough contrast with
the -moz-sidebar background.

Ah right, bookmarks is the same for the new sidebar. Thanks for the fix!

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

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9484233 [details]
Bug 1961043 - Use the right text color for sidebar panels. r=#sidebar-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency:
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: The test fix needs uplift too.
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Simple color change.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9484233 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Please submit a Beta uplift request through Phabricator for this.

Flags: needinfo?(emilio)

Otherwise we get -moz-dialogtext which may not have enough contrast with
the -moz-sidebar background.

Original Revision: https://phabricator.services.mozilla.com/D247062

firefox-beta Uplift Approval Request

  • User impact if declined: see above
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See above
  • Risk associated with taking this patch: low
  • Explanation of risk level: scoped css tweak
  • String changes made/needed: none
  • Is Android affected?: no
Flags: needinfo?(emilio)
Attachment #9484233 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift] [qa-ver-needed-c140/b139]

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

I managed to reproduce this issue on an affected nightly build after installing the MATE desktop environment and enabling the BlackMATE theme, on Ubuntu 22.04.
Verified fixed in Firefox Beta 139.0b3 and Nightly 140.0a1 with sidebar.revamp enabled. The text is now clearly visible in both the History and Bookmarks tabs, with proper contrast.

However, I’ve noticed a new issue: in the revamped sidebar, the Bookmarks tab search field has a dark background in Beta but a light background in Nightly, while the History tab search field remains white in both cases. Additionally, with the old sidebar, both search fields appear dark in Beta but white in Nightly. Which behavior is considered correct?

Since the initial issue has been fixed, I am closing this bug as verified fixed. Should I file a new bug for the search field styling issue, or is it already being tracked?

Flags: needinfo?(emilio)
Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift] [qa-ver-needed-c140/b139] → [uplift] [qa-ver-needed-c140/b139] [qa-ver-done-c140/b139]
Flags: qe-verify+

That's expected, see bug 1963446 comment 7.

Flags: needinfo?(emilio)
QA Contact: gmoldovan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: