[Konversation-devel] [Bug 247882] New: Realnames in nicklist: No awareness of formatting chars

Jonas Thiem contact at eloxoph.com
Sat Aug 14 19:50:14 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=247882

           Summary: Realnames in nicklist: No awareness of formatting
                    chars
           Product: konversation
           Version: 1.3.1
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel at kde.org
        ReportedBy: contact at eloxoph.com


Version:           1.3.1 (using KDE 4.4.5) 
OS:                Linux

I observed some kvirc user with formatting chars in its realname which revealed
some minor issue with Konversation's "realnames shown in the nicklist" feature:

http://eloxoph.com/archive/realnameabnormalities.png

What you can see in the nicklist there (those strange characters at the
beginning of the realname) is actually ascii-3 (colour code), '1' (sets text
colour 1), ascii-15 (resets everything again) which KVIrc puts there for some
very odd reason.

The point is, while the chat window just either removes the formatting or
parses it correctly (can't be seen since that formatting actually does
nothing), the nicklist doesn't even filter those formatting byte sequences out
but keeps them in there and attempts to show them interpreted as real text
(which of course results in strange characters being shown).

Reproducible: Always

Steps to Reproduce:
1. Find a way to put the 3 formatting bytes at the beginning of your realname:
3, 49, 15 (decimal values)
2. Activate realnames getting shown in the nicklist
3. Join a channnel and examine your entry in the nicklist

Actual Results:  
Your realname in the nicklist will be shown with strange chars at the beginning
due to the formatting chars not being properly recognised

Expected Results:  
The formatting gets stripped (that's what I'd recommend) or even properly
parsed into colours etc (which would probably look odd in the nicklist if
someone chose to run around with a rainbow coloured realname or something)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list