bugWeeChat - Bugs: bug #23943, layout messes up on nonprintable...

 
 

bug #23943: layout messes up on nonprintable characters sent by pidgin

Submitted by:  bunz <bunz>
Submitted on:  Mon 28 Jul 2008 12:04:10 AM UTC  
 
Category: displaySeverity: 3 - Normal
Item Group: displayStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.0IRC nick: bunz

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 28 Jul 2008 04:21:15 PM UTC, comment #3:

Fixed.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Mon 28 Jul 2008 08:30:59 AM UTC, comment #2:

patch attached

bunz <bunz>
Mon 28 Jul 2008 05:49:25 AM UTC, comment #1:

the three byte sequence is UTF-8 for U+FEFF ("ZERO WIDTH NO-BREAK SPACE")

btw I have it compiled against ncursesw

bunz <bunz>
Mon 28 Jul 2008 12:04:10 AM UTC, original submission:

pidgin's irc sends some weird characters which cause weechat window layout (the nick align, nick list border) to shift.

I've attached a screenshot of the behavior, and also the output from /debug buffer, with the weird three byte sequence highlighted.

pidgin doesn't always send these, but one reliable way for me to reproduce it is to copy and paste a long string from somewhere into the pidgin input widget (looks fine in gtk) and hitting enter.

may be a bug in pidgin but weechat should nevertheless silently ignore these.

bunz <bunz>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #16199:  display_word_raw.patch added by bunz (1KiB - text/x-diff - only print character when size_on_screen > 0)
file #16193:  pidgin_weechat.png added by bunz (84KiB - image/png)
file #16194:  pidgin_weirdchars.png added by bunz (17KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by bunz (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Sep 2009 06:52:45 PM UTCflashcodeOpen/ClosedOpen=>Closed
      Release2.1-dev=>0.3.0
    Mon 28 Jul 2008 04:21:15 PM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode
    Mon 28 Jul 2008 08:30:34 AM UTCbunzAttached File-=>Added display_word_raw.patch, #16199
    Mon 28 Jul 2008 12:04:11 AM UTCbunzAttached File-=>Added pidgin_weechat.png, #16193
      Attached File-=>Added pidgin_weirdchars.png, #16194

    Back to the top


    Powered by Savane 3.1-cleanup1