kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
244 stars 74 forks source link

Some "Smart" nickname colors can't be easily read #353

Open DarthGandalf opened 9 years ago

DarthGandalf commented 9 years ago

Reported by oxi on 26 Jan 2009 10:18:14 UTC Hi,

Some "Smart" nickname colors can't be easily read.

I'm guessing a random background and foreground color is generated for these. But it's likely they will be similar colors thus rendering the nicks hardly readable.

This could be resolved by generating one of them randomly, then generating the other one as a complementary to the first one.

You can find some theory and formulae on getting complementary colors for RGB mode here: http://www.serennu.com/colour/rgbtohsl.php

Note that if the random color is too greyish the other one will be too. So it's a good idea to avoid this by means of discarding values too near to 128(given one-byte values are being used).

I'll be pleased to see this implemented in version 4 :)

Thank you!


Migrated from: https://svn.kvirc.de/kvirc/ticket/353

DarthGandalf commented 9 years ago

Comment by ctrlaltca on 26 Jan 2009 10:27:52 they're not truly random, since in the ircview we can handle nicely only the 16 "mirccolors" and that these colors can be defined by the user. have a look at https://svn.kvirc.de/svn/trunk/kvirc/src/kvirc/ui/kvi_console.cpp , search for KVI_NUM_NICK_COLORS and you'll find the color pairs defined.

DarthGandalf commented 9 years ago

Comment by ctrlaltca on 20 Feb 2009 16:22:09 moved target to 4.0 and merged with #353

DarthGandalf commented 9 years ago

Comment by ctrlaltca on 20 Feb 2009 16:23:17 actually merged with #81


Version: 3.4.2 Shiny → 4.0 Insomnia

DarthGandalf commented 9 years ago

Comment by oxi on 09 Mar 2009 16:42:24 So, how about using the formulae to determine if two of the given 16 mirccolors have enough contrast before they're actually used? Or maybe generate a list of elegible high-contrast pairs (in the defined colorset) right after any of the colors has been redefined, then quickly refer to this list when it's time to use them.

Sorry if I shouldn't have posted in this ticket again. But it didn't feel right to post in #81.

Thanks.

DarthGandalf commented 9 years ago

Modified by HelLViS69 on 19 Dec 2009 16:46:25 Version: 4.0 Insomnia → 4.0rc2 Insomnia

DarthGandalf commented 9 years ago

Modified by HelLViS69 on 02 Feb 2010 14:17:02 Version: 4.0rc2 Insomnia → 4.0 Insomnia

DarthGandalf commented 9 years ago

Modified by HelLViS69 on 27 Jun 2010 15:18:53 Version: 4.0 Insomnia → 4.1 Equilibrium

un1versal commented 9 years ago

Kn1az commented on 10 Sep Hi Guys,

The background colors behind nicknames should be an option when "Smart" color nicknames checkbox is enabled, In my opinion it does not look good at all, and also difficult to read.

In addition, an option to have colored nicks in the list of users of the channel would be really nice to have. The nick colors in the list of channel users column, should match the color in the chat of the same user when users write to the channel. I think hexchat would be a an example of what I mean.

background

un1versal commented 9 years ago

retargeted to latest development version and merged with duplicate #1563

un1versal commented 9 years ago

Reported by TheRipper on 22 Dec 2010 16:08:00 UTC Nick colors are nice but they have one main problem: bad combinations that are unreadable or simply ugly.

In the text options menu, there should be a button that opens a dialog which allows the user to uncheck bad combinations. a simple 2 dimensional array with 16 bools per dimension should be able to store that data.

I will add a (rough) example of how I imagine the dialog could work.

It's basically a table of foreground and background colors with example (a) and a checkbox. the outer checkboxes check/uncheck all colors in their row/column.


Migrated from: https://svn.kvirc.de/kvirc/ticket/1054


Merged option to ban bad nick colors #1054 into here.

un1versal commented 9 years ago

Reported by anonymous on 28 Apr 2009 17:19:33 UTC Basically, it would be nice to have the option to get only the nicks' foreground colour "smartly" coloured instead of the background because the coloured background tends to distract me.

More advancedly, kvirc would allow the user to choose between a) both colouring background and foreground (status quo), b) colouring the foreground only and c) colouring the background only.

Optimally, the colours used for smart colours would be configurable, too.

Migrated from: https://svn.kvirc.de/kvirc/ticket/429


Merged Configurable foreground/background colouring for smart nickname colours #429

un1versal commented 9 years ago

Reported by Emralegna on 13 Jun 2010 03:15:50 UTC Hi,

Coloring nickname is very useful for a better readability and less eye fatigue ; unfortunately it forces the use of background color as well and can be very annoying/ugly when used with a dark themes and/or real transparency.

Can it be added an option to get only a foreground nickname coloring mode ?

Thanks.

Migrated from: https://svn.kvirc.de/kvirc/ticket/812


merged with Only foreground color for smart nicknames coloring mode. #812

un1versal commented 9 years ago

So many duplicates of this issue and @pragmaware doesnt see a problem with this feature :D

So now its a bug aslo since this has been here since dawn of time

un1versal commented 8 years ago

its about time this is labeled as confirmed due to the sheer amount of reports on same issue I merged into this.

Traneptora commented 7 years ago

This has seriously been a problem since the dawn of time. It'd be nice to see it fixed. At least, see the option "Use only foreground colors for smart nicknames."