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

 
 

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

Submitter:  bunz <bunz>
Submitted:  Mon 28 Jul 2008 12:04:10 AM UTC
   
 
Category:  display Severity:  3 - Normal
Item Group:  display Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.0 IRC nick:  bunz
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed.

Sebastien Helleu <flashcode>
Group administrator
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 Files:
   
   
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
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by bunz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-06 flashcode Open/ClosedOpen Closed
        Release3.3-dev 0.3.0
    2008-07-28 flashcode StatusNone Fixed
        Assigned toNone flashcode
    2008-07-28 bunz Attached File- Added display_word_raw.patch, #16199
    2008-07-28 bunz Attached File- Added pidgin_weechat.png, #16193
        Attached File- Added pidgin_weirdchars.png, #16194

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code