bugWeeChat - Bugs: bug #32703, Error with Numeric Color Code

 
 

bug #32703: Error with Numeric Color Code

Submitted by:  hunter <hw2>
Submitted on:  Tue 08 Mar 2011 12:05:52 AM UTC  
 
Category: displaySeverity: 3 - Normal
Item Group: displayStatus: Invalid
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.4IRC nick: hw2

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 09 Mar 2011 10:21:29 PM UTC, comment #1:

this isn't a bug in weechat. it was a bug in script.

task can be closed.

Nils G <nils_2>
Project Member
Tue 08 Mar 2011 12:05:52 AM UTC, original submission:

This displays itself as an error when running colorize_lines.py. I had the good fortune of tracking down the conflict with nils and he deduced that it is related to how WeeChat is handling numeric color codes.

If irc.look.nick_prefix is an empty string ("") or contains characters and irc.color.nick_prefix.[halfop/op/user/voice] are set to a numeric color -- in the example picture it is 238, then there is some error resulting in a nick prefix. In the case of the attached image (colorize.png), you get something which looks like:

1414 @sopere: blah blah
1439 @00238@sopere: test

Further, changing the irc.look.nick_prefix to " " results in no additional prefix, but the user level inherits the nick & line color and ignores irc.color.nick_prefix* (see colorize2.png)

If the irc.color.nick_prefix* settings are set to a text value (eg: lightgreen) everything behaves as expected, the user level is the proper color, and the nick & line share a nick color.

Apologies for the verbosity, I'm not nearly technical enough to describe it succinctly.

hunter <hw2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22850:  colorize.png added by hw2 (3KiB - image/png)
file #22851:  colorize2.png added by hw2 (14KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by nils_2 (Posted a comment)
  • -unavailable- added by hw2 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Mar 2011 06:59:05 AM UTCflashcodeCategoryNone=>display
      StatusNone=>Invalid
      Assigned toNone=>flashcode
      Open/ClosedOpen=>Closed
    Tue 08 Mar 2011 12:05:53 AM UTChw2Attached File-=>Added colorize2.png, #22851
    Tue 08 Mar 2011 12:05:52 AM UTChw2Attached File-=>Added colorize.png, #22850

    Back to the top


    Powered by Savane 3.1-cleanup1