[macOS] Bookmarks toolbar button submenu item hover states are low-contrast
Categories
(Firefox :: Bookmarks & History, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | verified |
firefox90 | --- | verified |
People
(Reporter: bugzilla, Assigned: Gijs)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [proton-door-hangers][priority:2a] [proton-uplift])
Attachments
(5 files)
The submenus in the bookmarks toolbar button are styled like native menus, at least on macOS. We appear to apply the Secondary Hover bgcolor to them on hover. This is very low-contrast. We might consider using a blue/system Highlight hover bgcolor for the items in these submenus.
Comment 1•4 years ago
|
||
Set release status flags based on info from the regressing bug 1697533
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
This is not an issue in Dark mode, where we style the submenu background.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Those are not native menus, so I don't think it's a platform issue.
Also FYI, on 10.15 the contrast appears fine.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Harry, can you confirm STR here? Are you still seeing this, and if so, does this only happen on big sur?
Reporter | ||
Comment 6•4 years ago
|
||
Yes, I'm still seeing this on the latest Nightly.
STR:
- In the Customize screen, add the Bookmarks Menu button to the toolbar.
- Click the bookmarks toolbar button to open the bookmarks panel.
- Hover a folder in the panel to open its submenu.
- Hover a bookmark in the submenu.
I'm not sure about macOS versions before Big Sur. I don't have any machines running macOS < 11. Martin's comment 4 suggests it's not an issue there.
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
I tried this a little bit more, and I'm also able to reproduce this on 10.15.
To reproduce the issue, it's important to pick the default theme. See the comparison between default and light theme in the attachment. (Also note the issue with the corners in the default theme, it's not really round.)
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Thanks for the clarifications.
This appears to be because the first menupopup gets the places-popup-arrow
binding which gets styled like an arrow panel (except we removed the arrows for proton...) and the submenus all get places-popup
. This is the same root cause as bug 1702945.
We can probably fix the macOS case with yet more custom CSS, but it's not a very sustainable setup, the whole "Let's take a menupopup
and make it look like a panel
but behave like a menu..." thing is just a recipe for brokenness. :-\
Assignee | ||
Comment 9•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Assignee | ||
Comment 12•4 years ago
|
||
Romain, do you want us to uplift this? It's a pretty straightforward CSS change, marked p2a.
Assignee | ||
Comment 13•4 years ago
|
||
(In reply to :Gijs (he/him) from comment #12)
Romain, do you want us to uplift this? It's a pretty straightforward CSS change, marked p2a.
Passing this to Shilpa.
Updated•4 years ago
|
Comment 14•4 years ago
|
||
Request for Uplift since this is a small change. I'l remove the wontfix flag.
Updated•4 years ago
|
Assignee | ||
Comment 15•4 years ago
|
||
Comment on attachment 9220148 [details]
Bug 1701637 - fix bookmarks menu button submenu styling in proton, r?mconley
Beta/Release Uplift Approval Request
- User impact if declined: Bookmarks menu button subfolder items are not readable on some versions of macOS
- 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: See comment 0. Note that the fix affects Windows and Linux too, so it'd be good to check that the menus look OK there too.
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): CSS-only changes that only affect the bookmarks menu button
- String changes made/needed: Nope
Assignee | ||
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Comment on attachment 9220148 [details]
Bug 1701637 - fix bookmarks menu button submenu styling in proton, r?mconley
Approved for 89.0b12.
Comment 17•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
Verified the fix on Firefox 89.0b13 and Nightly 90.0a1 using macOS 11, Windows 10 and Ubuntu 18.04. The issue is not reproducing anymore and the fix didn't cauze any additional issues.
Updated•4 years ago
|
Description
•