GNOME Bugzilla – Bug 541632
Nicks by color
Last modified: 2011-10-08 20:12:27 UTC
Hello, I'm trying empathy 0.22.1 for IRC. I'm used to color nicknames and I find difficult to follow a group conversation without it. Something like assigning a random color for a nick that says something and stick with this color for this nick. I hope this help you improve this application. [Note: I splitted bug #533638]
I'm the original reporter.
Now that MUC is somewhat usable, I think it's worth fixing this bug. A few goals for the fix (in approximate order of importance): 1. maintain high contrast between the font background and foreground colors 2. reserve a color (and colors near it) for highlighting nicks on lines where they have quoted your name 3. maximize the color distinction between nicks 3.b. ideally, maximize color distinction between otherwise-similar nicks. The best criteria are probably same-length nicks and nicks with the same prefix.
I think this would be a really useful feature. I like Pidgin's interface/look, and I think Empathy should do nick coloring the same as Pidgin.
I agree with this. Maybe you can use the groupchat feature of Adium themes (bug #586386) and work on a default MUC message style ? I don't know if Adium themes can handle colored nicknames. Also, this feature is in use in Google Groups, where it looks very nice, in my opinion.
Note that the colours must be semi-random for maximum usability. It is important that the same nick *always* yields the same colour (even over multiple rejoins, restarts whatsoever), as long as the surroundings (foreground/background color) did not change. Spreadsheet pointed out pidgin, which does the best out of nick colouring for what I have seen so far. best regards
For your informations, libempathy-gtk/empathy-theme-adium.c: } else if (theme_adium_match (&cur, "%senderColor%")) { /* FIXME: A color derived from the user's name. If a * colon separated list of HTML colors is at * Incoming/SenderColors.txt it will be used instead of * the default colors. */
Created attachment 187032 [details] [review] theme-adium: implement %senderColor% (#541632)
I opened bug #649174 about the FIXME.
Review of attachment 187032 [details] [review]: good
Merged to master. commit 715bb21b4598091c2dac0ebf94b3d744056d01e6 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Mon May 2 13:36:42 2011 +0200 theme-adium: implement %senderColor% (#541632) This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
I don't know if it's right to post this here, but I've noticed that the default "classic" style does not support yet this feature ; you've got to use an Adium style such as yMous to get different nick colors in the same MUC. I guess bug #645920 is here for fixing this.
Yeah plan is to switch to Adium themes so we don't care that much about the old ones.