Closed
Bug 1506105
Opened 6 years ago
Closed 6 years ago
Buttons and icons are not visible in High Contrast mode
Categories
(Toolkit :: Performance Monitoring, defect)
Tracking
()
VERIFIED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox63 | --- | unaffected |
firefox64 | --- | verified |
firefox65 | --- | verified |
People
(Reporter: gpalko, Assigned: florian)
References
Details
Attachments
(3 files)
35.88 KB,
image/png
|
Details | |
4.00 KB,
patch
|
Felipe
:
review+
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
3.33 KB,
patch
|
Details | Diff | Splinter Review |
[Environment:] Nightly 65.0a1 BuildId 20181108220756 [Steps:] Enable a high contrast theme on the operating system(High Contrast Black/White) 1. Open Nightly 2. Open about:performance [Actual Result:] Icons are not visible Buttons are not visible, the users are not able to close tabs, navigate to add-on detail page or open subsections in the list(see attached screenshot [Expected Result:] The feature should be usable in high contrast mode
Reporter | ||
Updated•6 years ago
|
OS: Unspecified → Windows
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 years ago
|
||
Comment on attachment 9025743 [details] [diff] [review] Patch Now that I verified the patch actually works on Windows in High Contrast mode, requesting review. Background colors and images are not painted in high contrast mode. This patch changes them to using the content property on the pseudo elements. And then there are a few tweaks to maintain a (mostly) correct vertical centering.
Attachment #9025743 -
Flags: review?(felipc)
Comment 3•6 years ago
|
||
Comment on attachment 9025743 [details] [diff] [review] Patch Review of attachment 9025743 [details] [diff] [review]: ----------------------------------------------------------------- I think you should investigate doing more of the centering with the table layout (vertical-align and text-align), and replacing the action buttons and twisty with real xul:buttons with -moz-appeareance: none.. That will probably save a lot of headaches
Attachment #9025743 -
Flags: review?(felipc) → review+
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/f9e9cf90de3d Display the clickable icons using the content property instead of as a background image so that they are visible in high contrast mode, r=felipe.
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f9e9cf90de3d
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9025743 [details] [diff] [review] Patch [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: bug 1496782, bug 1498185 User impact if declined: Icons that act as buttons are invisible in high contrast mode, making the new about:performance UI unusable for these users. 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: Verify that clickable icons are now visible in high contrast mode. I'm confident that this is fixed. I think we could use a bit of manual QA to verify that the icons are still displayed at the correct places. Vertical alignment may be slightly off for some themes/font-sizes. List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Low risk because it's a relatively simple CSS only change. The little risk we have is around vertical aligment of icons that may be slightly off for non-default font sizes. Note: unless new serious issues are discovered, this is the last uplift request for 64 related to about:performance (all dependencies of bug 1478831 are now resolved). String changes made/needed: none
Attachment #9025743 -
Flags: approval-mozilla-beta?
Updated•6 years ago
|
status-firefox64:
--- → affected
Flags: qe-verify+
Updated•6 years ago
|
status-firefox63:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Comment 7•6 years ago
|
||
Comment on attachment 9025743 [details] [diff] [review] Patch about:performance css fix, approved for 64.0b12
Attachment #9025743 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 8•6 years ago
|
||
Rebased patch to avoid the conflict caused by https://hg.mozilla.org/mozilla-central/rev/f790f10bca33#l2.1 that landed on central but wasn't needed on beta.
Reporter | ||
Comment 9•6 years ago
|
||
Verified, that the issue is no longer reproducing on Nightly 65(20181122100048).
Comment 10•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/811d4b940b9b
Reporter | ||
Comment 11•6 years ago
|
||
Tested on Beta 64b12(20181122182000) and I noticed, that even with High contrast turned off, the 'arrow' button for displaying sub-frames is invisible, but clickable(It's displayed correctly in Nightly and Beta 64b11). Could be a regression caused by the patch rebased on Beta?
Flags: needinfo?(florian)
Assignee | ||
Comment 12•6 years ago
|
||
(In reply to Gyula Palko from comment #11) > Tested on Beta 64b12(20181122182000) and I noticed, that even with High > contrast turned off, the 'arrow' button for displaying sub-frames is > invisible, but clickable(It's displayed correctly in Nightly and Beta > 64b11). Could be a regression caused by the patch rebased on Beta? Yes, my beta rebase is broken. I included part of the patch from bug 1507114, but the new CSS from it depends on the twisty image being in a span node rather than an img node (I don't know why). Just applying this change on beta fixes it: https://hg.mozilla.org/mozilla-central/rev/f790f10bca33#l1.37
Flags: needinfo?(florian)
Reporter | ||
Comment 13•6 years ago
|
||
Verified, that the issue is no longer reproducible on Beta 64b13(20181126173133).
You need to log in
before you can comment on or make changes to this bug.
Description
•