Bug 533297 - Wild line of spaces (or something) after printing colour
Summary: Wild line of spaces (or something) after printing colour
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-terminal
Version: 11
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-05 23:37 UTC by Frank Cox
Modified: 2010-06-28 15:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-28 15:23:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Cox 2009-11-05 23:37:14 UTC
Description of problem:
The program below should print "blah" in black text on white, with a black background for the rest of the window.

Version-Release number of selected component (if applicable):
ncurses-5.7-2.20090207.fc11.x86_64

How reproducible:
every time

Steps to Reproduce:

Run this program.  It works fine on an xterm, but prints a white line to eol on gnome-terminal.

  #include <ncurses.h>

int main()
{	
	int counter;
	
	initscr();
	start_color();
	init_pair(64,0,7);
	attrset(COLOR_PAIR(64));
	
	move(6,10);
	for (counter=1; counter < 7; counter++)
		addch(' ');
	move(6,10);
	addstr("Blah");
	move(6,11);
	refresh();
	for (counter=1; counter < 7; counter++)
		addch(' ');
	move(6,10);
	addstr("Blah");
	refresh();
	getch();
	endwin();
	return 0;
}
Actual results:
blah on a white background with a bright white line of spaces to the edge of the window.

Expected results:
blah on a white background with the rest of the screen black.

Additional info:
Gives expected result with an xterm, doesn't work right with gnome-terminal.

Comment 1 Behdad Esfahbod 2009-11-11 21:54:47 UTC
This is fixed in Fedora 12.  Not sure if I will push a fix out for 11.

Comment 2 Bug Zapper 2010-04-28 11:07:08 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Bug Zapper 2010-06-28 15:23:55 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.