bugWeeChat - Bugs: bug #36999, Colors are fubarred

 
 

bug #36999: Colors are fubarred

Submitted by:  None
Submitted on:  Tue 31 Jul 2012 01:46:38 AM UTC  
 
Category: displaySeverity: 3 - Normal
Item Group: displayStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 0.3.8
IRC nick: onox

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 18 Aug 2012 01:40:08 PM UTC, comment #5:

I just installed a new version from port that has the imported patch from git, and all problems seem to be gone! :D So thanks! :)

Anonymous
Fri 17 Aug 2012 09:14:03 AM UTC, comment #4:

Finally fixed the bug in WeeChat.
For me the problem is still in ncurses (pair not set by wattr_set), but I added another call in WeeChat to force the restore of color (wcolor_set).

Old code was:

New code is:

The call to wcolor_set should not be needed, but at least it fixes the problem under FreeBSD.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 31 Jul 2012 12:16:40 PM UTC, comment #3:

As I said, exactly problem has been reported many time from FreeBSD users, and it was a problem related to libncurses (but I'm unable to say which version was ok or not).

Can you try again with 0.3.7, I'm almost sure you will have same problem with this version.

Thank you.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 31 Jul 2012 12:11:09 PM UTC, comment #2:

I'm using ncurses-5.9! 0.3.7 works fine. Only after updating to 0.3.8, the colors went crazy.

Anonymous
Tue 31 Jul 2012 06:31:45 AM UTC, comment #1:

Hi,

This is not a problem with WeeChat but with ncurses lib. Are you using version 5.9 of lib? Or can you try with this version?
Or if that does not help, maybe try to compile ncurses yourself.

Other people using FreeBSD reported same problem in past, it's a bug in ncurses which is unable to read attributes in terminal (on new lines in WeeChat I read color/attributes and I set them later).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 31 Jul 2012 01:46:38 AM UTC, original submission:

After I upgraded from 0.3.7 to 0.3.8, some of the colors are fubarred. The screenshots explain it all. I could modify the color via weechat.color.chat_prefix_suffix, but that doesn't fix the issue (it all still looks weird even if set to white)

OS: FreeBSD 9.0-RELEASE

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26292:  weechat4.png added by None (819KiB - image/png - Weird green + (voice) in front of certain nicks)
file #26289:  weechat1.png added by None (599KiB - image/png)
file #26290:  weechat2.png added by None (455KiB - image/png)
file #26291:  weechat3.png added by None (420KiB - 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 None (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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 09:27:11 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Fri 17 Aug 2012 09:14:03 AM UTCflashcodeStatusNeed Info=>Fixed
    Tue 31 Jul 2012 12:16:40 PM UTCflashcodeStatusInvalid=>Need Info
    Tue 31 Jul 2012 06:31:45 AM UTCflashcodeStatusNone=>Invalid
      Assigned toNone=>flashcode
    Tue 31 Jul 2012 01:55:39 AM UTCNoneAttached File-=>Added weechat4.png, #26292
    Tue 31 Jul 2012 01:46:38 AM UTCNoneAttached File-=>Added weechat1.png, #26289
      Attached File-=>Added weechat2.png, #26290
      Attached File-=>Added weechat3.png, #26291

    Back to the top


    Powered by Savane 3.1-cleanup1