! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Game using white characters on black background shows black on white
Status:
RESOLVED: WONTFIX
Product:
Xfce4-terminal
Component:
General

Comments

Description Horst H. von Brand 2008-03-06 18:25:03 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008030423 Fedora/3.0b5pre-0.beta4.34.nightly20080304.fc9 Minefield/3.0b5pre
Build Identifier: 

This is Fedora rawhide on dual-core i686, on a Toshiba Tecra (nVidia card using the Nouveau driver).

The game Linley's Dungeon Crawl Stone Soup (a roguelike, <https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref> is the SVN repo) uses ncurses (it links with -lncursesw, here from ncurses-libs-5.6-15.20080112.fc9.i386). On gnome-terminal or xterm the game shows white characters on black backround, on Terminal it shows black characters on white backgound.

The settings are:

Preferences -> Colors: Text and cursor black, background white

I suppose this has something to do with not handling the color preferences/settings from ncurses, but I don't know anything about that. A minimal test program that tries to set white on black text would be appreciated (either it is a bug in Terminal, or crawl is doing it wrong ;-)

Reproducible: Always

Steps to Reproduce:
1. Run crawl
2.
3.

Actual Results:  
Black text on white background in the game, no colors

Expected Results:  
White text on black background, some characters colored (i.e., ! for potions, etc)

glib2-2.15.6-2.fc9.i386
gtk2-2.12.8-3.fc9.i386
Comment 1 Horst H. von Brand 2008-03-06 20:09:43 CET
Created attachment 1546 
Source to a ncurses example that shows the problem

This is the example game blue from the ncurses-5.6 package, which I made to compile with minimal changes (see patched files and included Makefile). It should show a black background, on which there are white rectangles for the cards, which are shown by blue value and a red or black letter for suit, plus white characters on black to indicate possible moves (and explanation of the game). Terminal shows this just as black-on-white text.
Comment 2 Skunnyk editbugs 2020-05-22 12:45:37 CEST
Closing old bugs.

Bug #3925

Reported by:
Horst H. von Brand
Reported on: 2008-03-06
Last modified on: 2020-05-22

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Source to a ncurses example that shows the problem (11.64 KB, application/x-bzip2)
2008-03-06 20:09 CET , Horst H. von Brand
no flags

Additional information