Closed
Bug 505089
Opened 16 years ago
Closed 14 years ago
about:config highlight override does not work
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jdegroof, Unassigned)
Details
(Whiteboard: [CLOSEME 2011-05-30])
Attachments
(2 files)
1.70 KB,
patch
|
Details | Diff | Splinter Review | |
199 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
After researching how to get rid of the new god-awful pink highlight all color, I found the following two about:config strings. Problem is, when set yellow/black, reversing the color setting always results in yellow text with black background.
ui.textHighlightForeground #000000
ui.textHighlightBackground #FFFF00
Reproducible: Always
Steps to Reproduce:
1. Add two strings above
2. Select "highlight all"
3.
Actual Results:
Always black background with yellow text with those settings (reversing does not change anything).
Expected Results:
Expected the great old yellow highlight with black text.
All else default - never used about:config before.
Comment 1•15 years ago
|
||
Bug confirmed in latest hg checkout of firefox, it seems that when the UI calculates the minimum threshold for contrast, it takes into account the selection highlight color but not the search highlight color. This patch addresses this issue without removing the call to EnsureSufficientContrast in GetHighlightColors in nsTextFrameThebes.cpp. It is important this behavior is still in place, for instance, if we are searching a page who's background color is #FFFF00.
Attachment #491624 -
Flags: review?
Comment 2•15 years ago
|
||
Contrived example to show the differences in highlighting behavior given different color backgrounds. Here is a screenshot of the current behavior (which I believe is incorrect): http://imgur.com/WrfpQ.png . The corrected behavior: http://imgur.com/TQnff.png . Loaded page without highlighting: http://imgur.com/ilFRs.png .
Comment 3•14 years ago
|
||
Reporter, are you still seeing this issue with Firefox 4.0.1 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-05-30]
Comment 4•14 years ago
|
||
I'm not the original reporter, but I was seeing this issue before as well.
I have Firefox 4.0.1 and restarted it in safe mode to check, but the highlighting behavior remains unchanged.
Comment 5•14 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 4 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). Also, ensure you have the most up to date graphics drivers, operating system updates, and plugin versions (flash, java, etc). If you continue to see this issue with the newest Firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Comment 6•13 years ago
|
||
Comment on attachment 491624 [details] [diff] [review]
Proposed patch
Clearing review request on "incomplete" bug. If this is still an issue with current versions of firefox, please update the patch and assign to a specific review (such as me!).
Attachment #491624 -
Flags: review?
You need to log in
before you can comment on or make changes to this bug.
Description
•