Closed
Bug 152144
Opened 22 years ago
Closed 26 days ago
quoted text color is hard-coded, conflicts with dark color schemes
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1715361
People
(Reporter: bugZ, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
2.92 KB,
image/png
|
Details |
win32 build 2002061408, win98se (Classic)
The color for quoted text in the compose window is apparently now hard-coded as
"blue". This color does not work with all color schemes (see attached screen
shot). It must be configurable as a pref.
Comment 2•22 years ago
|
||
I'd also like to have the color to be freely configurable, via a userContent.css
maybe or even the UI.
Current hack in userContent.css:
span[_moz_quote=true] {
color: #ffc !important;
}
The real point here is hard-coding a particular color when it can easily
conflict with other color choices made in Prefs|Appearance|Colors. If colored
quoting in replies is desired (I really don't care, myself) then the color
choice should be a pref, even if there's no UI for it.
Prefs|Mail&Newsgroups|Composition would be a logical place, though.
Comment 5•22 years ago
|
||
Yup, this needs to be configurable; confirmed on Solaris/SPARC.
Many people don't want a special colour for quoted text.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Comment 6•22 years ago
|
||
As far as I understand, the new hardcoded color was added in bug 83378, marking
as a dependency.
Jennifer could you give your opinions as to where you would like this pref to exist?
If its a visible pref, either in Message Display or Compose (Forwarding and
Replying) Pref panel would be the right place. Would this control the blue line
that appears when the user replies to a message w/the quoted text Or the,
sometimes, blue sometimes grey) line that appears when opening a message
w/quoted text Or both?
http://www.mozilla.org/mailnews/specs/prefs/Preferences.html
Just a note: Varada and I have investigated this. This happens in trunk builds
only not branch. We've seen it on the trunk linux build dated 20020614 too and
both Classic and Modern themes.
Comment 10•22 years ago
|
||
Regarding comment #3:
span[_moz_quote=true] {
color: #ffc !important;
}
Is it also possible to color deeper levels in different colors, like:
> red red red
>> green green green
>>> blue blue blue
Comment 11•22 years ago
|
||
After some digging, I've found that editing mozilla-install-dir/res/html.css
(wherever that is on your individual system) also works as a post-install hack,
and fixes all profiles at once. For example, on my Win2k box it's "D:\Program
Files\mozilla.org\Mozilla1.1\res\html.css". 10 seconds with vim (or whatever)
to change "blue" to "inherit" on lines 86 and 90 (in my installation, Moz 1.1)
and you're set, until the next release.
BTW this bug makes all quoted text in themes that use light text + dark
backgrounds unreadable.
Updated•22 years ago
|
Summary: new quoted text color is hard-coded (very bad) → quoted text color is hard-coded, conflicts with dark color schemes
Comment 13•22 years ago
|
||
*** Bug 193893 has been marked as a duplicate of this bug. ***
Comment 14•21 years ago
|
||
*** Bug 159088 has been marked as a duplicate of this bug. ***
Comment 15•21 years ago
|
||
In the duplicate, bug 152144 comment 13 has an even nicer CSS hack than the one
in comment 10.
I have to say, I would not characterize this bug as "major" but every time I
change a severity, someone changes it back.
Comment 16•21 years ago
|
||
*** Bug 183390 has been marked as a duplicate of this bug. ***
Comment 17•21 years ago
|
||
The "even nicer CSS hack" (by me, haha) is not in bug #152144 comment #13
(which would be this very bug), but the duplicate bug #159088 comment #13.
Comment 18•21 years ago
|
||
See also bug 90315
Updated•20 years ago
|
Product: MailNews → Core
2227 preElement->SetAttribute(NS_LITERAL_STRING("_moz_quote"),
2228 NS_LITERAL_STRING("true"));
2229 if (quotesInPre)
2230 {
2231 // set style to not have unwanted vertical margins
2232 preElement->SetAttribute(NS_LITERAL_STRING("style"),
2233 NS_LITERAL_STRING("margin: 0 0 0 0px;"));
2234 }
2235 else
2236 {
2237 // turn off wrapping on spans
2238 preElement->SetAttribute(NS_LITERAL_STRING("style"),
2239 NS_LITERAL_STRING("white-space: pre;"));
2240 }
Is there a reason the style set on lines 2232/2238 can't also include "color: somethingReadFromAPref", and then remove _moz_quote from html.css? Keep setting the _moz_quote attribute, since other code depends on it.
Comment 20•17 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Comment 21•17 years ago
|
||
Anything to do with color of text or Backgrounds should be in the appearance section of Preferences. Or buyout/license from the fellow That created "QuoteColors" and just have it made part of the UI.
Updated•17 years ago
|
QA Contact: esther → composition
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•3 years ago
|
Blocks: tb-dark-mode
Updated•2 years ago
|
Severity: major → S3
Updated•26 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•