Bug 139924 - Xresources affect global foreground and background
Summary: Xresources affect global foreground and background
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-18 19:50 UTC by Viraj Alankar
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-31 04:38:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Viraj Alankar 2004-11-18 19:50:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20040913 Firefox/0.10

Description of problem:
The file /usr/share/control-center-2.0/xrdb/General.ad has settings
that affect global background and foreground settings. An 'xrdb
-query' shows lines similar to:

*foreground: #000000

I believe the application name should be part of this resource
setting. The end result is that it affects other programs that query
for a 'foreground' resource. I witnessed problem from a TCL app
setting the resource setting but it essentially being overridden by
the one above:

option add *foreground white startupFile


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. xrdb -query | grep '^\*foreground'
2.
3.
    

Actual Results:  *foreground:   #000000

Expected Results:  Results should be blank.

Additional info:

Comment 1 Balbir Sanghera 2005-02-11 20:15:32 UTC
This setting also affects Acrobat.  In Acrobat, in the bookmarks pane
text is black on black background, with this setting.

Is there a quick way of turning this setting off or change it?

Comment 2 Carlos Rodrigues 2005-02-13 21:16:50 UTC
There should be a way to stop the resources in that directory from
being applied. GNOME is setting resources with wildcards that can
affect non-GNOME applications in unknown ways.

Additionally, the absense of a way to turn them off make this just
plain rude! I don't want my GNOME colors to leak into some Motif apps
that I use, and I can't do it without overrinding a enormous pile of
resources in a local .Xresources. At least KDE has a "do not apply KDE
colors to non-KDE applications" option, GNOME doesn't even have
something like that in GConf...

Comment 3 Matthew Miller 2006-07-10 22:40:51 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 4 John Thacker 2006-10-31 04:38:23 UTC
Closing per lack of response to previous request for information.
This bug was originally filed against a much earlier version of Fedora
Core, and significant changes have taken place since the last version
for which this bug is confirmed.

Note that FC3 and FC4 are supported by Fedora Legacy for security
fixes only.  Please install a still supported version and retest.  If
it still occurs on FC5 or FC6, please reopen and assign to the correct
version.  Otherwise, if this a security issue, please change the
product to Fedora Legacy.  Thanks, and we are sorry that we did not
get to this bug earlier.


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