[Ubuntu] The Menu bar items are not visible with HCM active and Alpenglow/Light theme enabled
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Accessibility Severity | s3 |
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | wontfix |
firefox106 | --- | wontfix |
firefox107 | --- | wontfix |
People
(Reporter: gmoldovan, Unassigned)
References
(Regression)
Details
(Keywords: access, regression)
Attachments
(1 file)
306.29 KB,
image/gif
|
Details |
Found in:
- Nightly 106.0a1
Affected versions:
- Nightly 106.a1
- Beta 105.0b9
Tested platforms:
- Affected platforms: Ubuntu 22.04
- Unaffected platforms: Windows and macOS
Preconditions
- Have High Contrast enabled (Accessibility menu > High contrast).
Steps to reproduce
- Launch the Firefox browser and enable the Menu Bar.
- From about:addons enable the Light or the Alpenglow theme.
- Click on one of the items from the Menu Bar.
- Hover the other items.
Expected result
- The Menu Bar items are visible.
Actual result
- The Menu Bar items are not visible.
Regression range
- I'll will find a regression as soon as posible.
Additional notes
- Reproducible with Light or Alpenglow theme enabled.
- Screencast attached to observe the issue.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
I've reached the following regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=457d764d3379c8757985089511eceae52ca3ef65&tochange=dd10e3373b26a3500b4685f6f37b74f32b7fe280
Potential regressor: Bug 1785904
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1785904
:dao, since you are the author of the regressor, bug 1785904, could you take a look?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Set release status flags based on info from the regressing bug 1785904
Comment 4•2 years ago
•
|
||
Marking access-s3 because items are visible when they are not selected.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
I think something to the effect of this diff would fix this:
--- a/toolkit/themes/linux/global/menu.css
+++ b/toolkit/themes/linux/global/menu.css
@@ -68,7 +68,7 @@ menubar > menu:not([open], [disabled="tr
color: inherit;
}
-menubar > menu[open] {
+menubar > menu[open]:not([_moz-menuactive="true"]) {
color: -moz-menubarhovertext;
background-color: -moz-menuhover;
}
The problem is the menu labels are getting the hover colors when the menu is open - which is not what we want in this case. I don't know off the top of my head if this is the right patch, or what ramifications this change might have elsewhere, but hopefully this will help move things along.
Comment 7•1 year ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) PTO until Jan 9th from comment #6)
I think something to the effect of this diff would fix this:
--- a/toolkit/themes/linux/global/menu.css +++ b/toolkit/themes/linux/global/menu.css @@ -68,7 +68,7 @@ menubar > menu:not([open], [disabled="tr color: inherit; } -menubar > menu[open] { +menubar > menu[open]:not([_moz-menuactive="true"]) { color: -moz-menubarhovertext; background-color: -moz-menuhover; }
From what I can tell a menu that is open
will also always have _moz-menuactive
set. So it seems like the above would effectively disable that rule entirely?
The problem is the menu labels are getting the hover colors when the menu is open - which is not what we want in this case.
Is it not? What other system color would we use instead? The above change would make us fall back to -moz-menuhovertext
, I think, which doesn't seem more correct, except that it would semantically fit with the -moz-menuhover
background. It seems odd that -moz-menubarhovertext
doesn't seem to have a corresponding background color.
I'll tentatively move this bug over to Widget: Gtk as it seems that we may not have everything we need to do the right thing here.
(In reply to Dão Gottwald [::dao] from comment #7)
What other system color would we use instead?
How about the background and text colors that are used when Firefox's system them" is used. That one does it correctly.
it seems that we may not have everything we need to do the right thing here.
It worked as intended until FF 105 broke it. And it still works in FF's system theme. It could very well be that the regressor of the duplicate-closed issue 1796122, https://hg.mozilla.org/mozilla-unified/rev/dd10e3373b26a3500b4685f6f37b74f32b7fe280#l1.17, is also the regressor here.
Comment 9•1 year ago
|
||
(In reply to cobinja from comment #8)
It worked as intended until FF 105 broke it.
Whether it worked as intended would depend on your OS theme and Firefox theme. There were certainly situations where it wasn't working properly, see bug 1785904 comment 0.
Updated•1 year ago
|
Updated•11 months ago
|
Description
•