Closed Bug 1888982 Opened 1 year ago Closed 1 year ago

Make sure cocoa trees use the correct color.

Categories

(Core :: Widget: Cocoa, defect)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 --- unaffected
firefox126 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Bug 1888862 changed menuhover, but also the SelectedItem color. As per Markus' comment that might not be quite correct:

mstange: Why wash out SelectedItem? Won't this change the color of the selected tree item? That color was accurate before (compare the tree view in the library window with the tree view in the Activity Monitor app).

emilio: Hmm, yeah, you're right... This also affects stuff like the urlbar dropdown, but maybe that should not use SelectedItem necessarily... I thought that <tree> used a different color but apparently we use SelectedItem when focused: https://searchfox.org/mozilla-central/rev/10f46c9c638e0e5935ed9fa12aadc9d0d4e71ade/toolkit/themes/shared/tree.css#49,53

Flags: needinfo?(emilio)

Set release status flags based on info from the regressing bug 1888862

  • Only wash out the color when reduced transparency isn't requested
    (this matches native menus).
  • Don't wash out SelectedItem (so that native trees etc aren't affected
    by the change).
  • Match the color a bit better on dark mode.
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Blocks: 1889429

:emilio the Soft Code Freeze starts on 2024-04-18 ahead of next week's merge to beta.
Just a reminder if you want to get this patch reviewed/landed before then

Flags: needinfo?(emilio)

Well I want but it's not up to me to review. I think the patch is low risk tho.

Flags: needinfo?(emilio)

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

Well I want but it's not up to me to review. I think the patch is low risk tho.

Sorry, I mean do you need to get a different reviewer maybe?
Though there is still the rest of the week for it be reviewed

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Blocks: 1895472
No longer blocks: 1895472
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: