Closed
Bug 1022550
Opened 11 years ago
Closed 9 years ago
Downloads panel's icons look disabled in High Contrast mode
Categories
(Firefox :: Downloads Panel, defect)
Tracking
()
VERIFIED
FIXED
Firefox 53
People
(Reporter: Unfocused, Assigned: selee)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [CHE-MVP][CHE-BUG])
Attachments
(2 files, 1 obsolete file)
|
15.02 KB,
image/png
|
Details | |
|
58 bytes,
text/x-review-board-request
|
dao
:
review+
jcristau
:
approval-mozilla-aurora+
|
Details |
The downloads panel uses icons (cancel, restart, open folder) that aren't very legible when using High Contrast mode. they should have higher contrast with the background. See attached screenshot.
Flags: firefox-backlog+
Updated•9 years ago
|
Priority: -- → P3
Comment 1•9 years ago
|
||
Will be easier to fix once the icons are converted to SVG.
Depends on: 1289139
Updated•9 years ago
|
Priority: P3 → P4
Updated•9 years ago
|
OS: Windows 8.1 → Windows
Hardware: x86_64 → All
Whiteboard: p=2
Version: 30 Branch → Trunk
Comment 2•9 years ago
|
||
So bug 1289139 fixed the contrast, but by using graytext the icons now look disabled. This is more obvious in HC mode because that maps graytext to a very distinctive color (e.g. green whereas normal text would be yellow).
I'm morphing this bug to reflect that new reality.
Blocks: 1289139
No longer depends on: 1289139
Keywords: regression
Priority: P4 → --
Summary: Downloads panel's icons need more contrast when using High Contrast mode → Downloads panel's icons look disabled in High Contrast mode
Comment 3•9 years ago
|
||
Attachment #8436793 -
Attachment is obsolete: true
Comment 4•9 years ago
|
||
Maybe we should restrict graytext to Mac and default Windows themes only, and use the normal field text color for all other themes?
Sean, Carol, can you help evaluate this bug?
Flags: needinfo?(selee)
Flags: needinfo?(chuang)
Comment 5•9 years ago
|
||
You could also just use the normal text color across the board and slightly reduce the opacity except for non-default Windows.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•9 years ago
|
||
Hi Dao,
Could you review the patch attachment 8805059 [details] ?
After discussing the color with Carol, using `color: initial` for action buttons is an acceptable and easy way to satisfy High Contrast mode.
The patch is verified in Windows 10, Ubuntu Linux, and MacOSX.
Flags: needinfo?(selee)
Flags: needinfo?(chuang)
Comment 8•9 years ago
|
||
Comment on attachment 8805059 [details]
Bug 1022550 - Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode.;
Did you mean 'inherit'? What color does 'initial' resolve to here?
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 10•9 years ago
|
||
Sorry, it should be `inherit`, and it refers to the design of Dropmarker[1] in Downloads Panel. The patch has been updated.
[1] http://searchfox.org/mozilla-central/rev/4012e61cc38758ffa1f7ce26039173f67b048853/browser/themes/shared/downloads/downloads.inc.css#60
Comment 11•9 years ago
|
||
Comment on attachment 8805059 [details]
Bug 1022550 - Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode.;
You definitely need to look for other rules that can now be removed because of this change. And I guess "inherit" is not the default here, and we need it for overriding platform styling, right?
Comment 12•9 years ago
|
||
Comment on attachment 8805059 [details]
Bug 1022550 - Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode.;
Looks like this rule from downloads.inc.css should be redundant now:
+@item@[verdict="Malware"]:hover > .downloadButtonArea > .downloadButton {
+ color: inherit;
+}
Bug 1289139 also used graytext in allDownloadsViewOverlay.inc.css. Should probably fix that too.
Attachment #8805059 -
Flags: review?(dao+bmo) → review-
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 14•9 years ago
|
||
Hi Dao, please review this patch with the changes for downloads.inc.css and allDownloadsViewOverlay.inc.css. Thanks.
Updated•9 years ago
|
Attachment #8805059 -
Flags: review?(dao+bmo) → review+
| Assignee | ||
Updated•9 years ago
|
Comment 15•9 years ago
|
||
need also review + and finished review in mozreview so we can use autolander to land this
Flags: needinfo?(dao+bmo)
Keywords: checkin-needed
Comment 16•9 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/11c4b40810da
Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode. r=dao
Updated•9 years ago
|
Flags: needinfo?(dao+bmo)
Comment 17•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
| Assignee | ||
Updated•9 years ago
|
Whiteboard: [CHE-MVP][CHE-BUG]
Comment 18•9 years ago
|
||
Given that bug 1289139 landed on 52, can we consider uplifting this to Aurora?
Comment 19•9 years ago
|
||
Comment on attachment 8805059 [details]
Bug 1022550 - Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode.;
(In reply to Ryan VanderMeulen [:RyanVM] from comment #18)
> Given that bug 1289139 landed on 52, can we consider uplifting this to
> Aurora?
We should!
Approval Request Comment
[Feature/Bug causing the regression]: Bug 1289139
[User impact if declined]: The color of download buttons in high contrast themes would be visible, but would look like a disabled button.
[Is this code covered by automated tests?]: No, we don't test front-end CSS
[Has the fix been verified in Nightly?]: Looks like QE hasn't manually verified the fix yet
[Needs manual test from QE? If yes, steps to reproduce]: In a sentence, run a download in high contrast mode and check the color of the action button.
[List of other uplifts needed for the feature/fix]: None that are specifically related to this bug, we may need more uplifts for the feature later
[Is the change risky?]: Limited risk
[Why is the change risky/not risky?]: The CSS rules touched here are only used by this part of the UI
[String changes made/needed]: None
Attachment #8805059 -
Flags: approval-mozilla-aurora?
Comment 20•9 years ago
|
||
To clarify, the fix is for download action buttons inside the Downloads Panel.
Comment 21•9 years ago
|
||
Comment on attachment 8805059 [details]
Bug 1022550 - Fix the color of action buttons in Downloads Panel to satisfy High Contrast mode.;
fix download panel buttons vs high contrast mode interaction, for aurora52
Attachment #8805059 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 22•9 years ago
|
||
| bugherder uplift | ||
Comment 23•9 years ago
|
||
I have reproduced this issue using Firefox 32.0a1 (2014.06.09) on Win 8.1 x64.
I can confirm this issue is fixed, I verified using Firefox 52.0a2 (2017.01.18) and Firefox 53.0a1 (2017.01.17) on Win 8.1 x64.
You need to log in
before you can comment on or make changes to this bug.
Description
•