Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554256 - [regression] media-sound/ncmpc-0.24-r1: weird characters when colors are enabled with -r1 version
Summary: [regression] media-sound/ncmpc-0.24-r1: weird characters when colors are enab...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-08 18:44 UTC by kleph
Modified: 2015-10-22 15:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
normal output with media-sound/ncmpc-0.24 version (0.24-normal.png,9.73 KB, image/png)
2015-07-08 18:45 UTC, kleph
Details
glitched output with media-sound/ncmpc-0.24-r1 version (0.24-r1-glitch.png,9.56 KB, image/png)
2015-07-08 18:46 UTC, kleph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kleph 2015-07-08 18:44:58 UTC
Weird characters appears in ncmpc interface when colors are enabled.
It only happen with -r1 patch, 0.24 ebuild is fine.

I tested it with urxvt, xterm and terminology, with and without screen.
I tested without config file, it works fine. The problem appears only when enable-colors = yes is set.


Here are my use flags :
artist-screen colors help-screen key-screen lirc lyrics-screen nls search-screen song-screen -chat-screen -debug -mouse

I saw the -r1 patch seems to be related to mouse handling in ncurses so I tried to enable the "mosue" use flag, but it did not help.

Screenshots that demonstrate the problem will follow.

Reproducible: Always
Comment 1 kleph 2015-07-08 18:45:43 UTC
Created attachment 406370 [details]
normal output with media-sound/ncmpc-0.24 version
Comment 2 kleph 2015-07-08 18:46:21 UTC
Created attachment 406372 [details]
glitched output with media-sound/ncmpc-0.24-r1 version
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2015-10-17 17:45:07 UTC
do you have USE=tinfo set on ncurses?
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2015-10-18 15:10:47 UTC
(In reply to Christoph Mende from comment #3)
> do you have USE=tinfo set on ncurses?

Nevermind. Found the bug, fixed in -r2.
Comment 5 kleph 2015-10-18 15:17:18 UTC
(In reply to Christoph Mende from comment #3)
No, the USE flag tinfo was not set.

(In reply to Christoph Mende from comment #4)
> (In reply to Christoph Mende from comment #3)
> > do you have USE=tinfo set on ncurses?
> 
> Nevermind. Found the bug, fixed in -r2.
Great, thanks :)
Comment 6 kleph 2015-10-22 15:10:14 UTC
I tested the patch in -r2 and I can confirm taht the bug is fixed.

Thanks again.