Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Mail editor programmatically chooses a high-contrast default text colour on screen

Last post 01-15-2020, 17:19 by archimedes1. 4 replies.
Sort Posts: Previous Next
  •  01-14-2020, 12:33

    Mail editor programmatically chooses a high-contrast default text colour on screen

    In 4.73, when starting a new message in the editor, the font color is brown by default.  Every time.

    See screenshot.  (The blue message background is my system default, but my Windows system default text color is black.)

    Is everyone else experiencing this brown text color?


     

    Further details:

    - the precise brown color is #655845 in web notation, 6641733 decimal

    - this color is not in my PMAIL.INI or any other settings I can find

    - the same issue occurs in a fresh install 

    - it's not caused by IERenderer, the same issue occurs even with IERenderer disabled

  •  01-14-2020, 16:52

    Re: New mail editor defaults to a brown text color?

    Attachment: 2020-01-14_123936.gif
    archimedes1:

    In 4.73, when starting a new message in the editor, the font color is brown by default.  Every time.

    With your message editor open either pick Message > Set text colour or mouse right-click an empty part of your message and pick Set text colour... from the menu. There are 21 colors to choose, black included.

    When replying to a message, Sender's text can be colored too. See screenshot below.

    N.B. These settings are Identity bound.



    Best,

    euler f german
    sete lagoas, mg, brazil
    Pegasus Mail 4.73.639 Standalone - Windows 7 Ultimate
    BearHTML 4.9.9.6 IERenderer 2.6.3.2
    Binaries: C:\PMAIL\Programs
    Mailboxes: C:\PMAIL\MAIL

    InsPMDic — Dictionary Handler Add-on (link on profile)
  •  01-15-2020, 17:00

    Re: New mail editor defaults to a brown text color?


    Thank you.

    With your message editor open either pick Message > Set text colour or mouse right-click an empty part of your message and pick Set text colour... from the menu. There are 21 colors to choose, black included.

    This lets me change the colour after starting to edit the message.  But the default colour on my screen is still brown.  I want to change the default colour, without having to "Set text colour" once for each new message.


  •  01-15-2020, 17:17

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: New mail editor defaults to a brown text color?

    This one has me baffled.  I don't know where the default color setting is stored nor why the set text color setting isn't sticky.

    If the default color was being controlled by the system it certainly would show up in other apps so I'm intrigued by the issue but clueless at this point on how to fix it.  I'm also a bit disadvantaged because I rarely send styled mail.  It's actually disabled in a number of my identities but I did test in one of my 'enabled' identities and couldn't find a way to change the default text color.

  •  01-15-2020, 17:19

    Re: New mail editor defaults to a brown text color?

    OK i figured out what is happening :)

    Pegasus has generated this "brown" colour uniquely for me on screen, to try to make a contrast with my chosen window background colour of #9AA7BA (that's the pale blue colour, which I have set in Windows 10, because I hate seeing a screenful of pure white, hurts my eyes).

    In hex, #9AA7BA + #655845 = #FFFFFF.

    It's not really creating styled messages with a brown colour, the message text is still seen by the recipient in the default black colour.  The brown is only on my own screen.

      

    It's an interesting programming choice by David Harris, which I've not seen other applications use.

    I'm not sure I agree with it.  Foreground Colour = #FFFFFF - Background Colour is not necessarily the highest contrast choice.  Imagine if the background colour is #808080, that would produce a foreground colour of #7F7F7F which would be visually indistinguishable.   There must be better algorithms for automatically picking a high-contrast text colour - for a start, black text usually looks good on any bright background, and white text looks good on any dark background.

    I'll take this up in the suggestions area. 
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page