Bug 478606 - gnome-settings-daemon causes "overrides entry on line" complaints in ~/.xsession-errors
Summary: gnome-settings-daemon causes "overrides entry on line" complaints in ~/.xsess...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-01 23:39 UTC by Michal Jaegermann
Modified: 2009-01-05 11:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-05 11:35:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 566610 0 None None None Never

Description Michal Jaegermann 2009-01-01 23:39:17 UTC
Description of problem:

After a session was opened one can find in ~/.xsession-errors:

xrdb:  "*Label.background" on line 220 overrides entry on line 150
xrdb:  "*Label.foreground" on line 232 overrides entry on line 151
xrdb:  "*Label.background" on line 220 overrides entry on line 150
xrdb:  "*Label.foreground" on line 232 overrides entry on line 151
xrdb:  "*Label.background" on line 220 overrides entry on line 150
xrdb:  "*Label.foreground" on line 232 overrides entry on line 151

and 

xrdb:  "*Text.background" on line 226 overrides entry on line 191
xrdb:  "*Text.foreground" on line 238 overrides entry on line 192
xrdb:  "*Text.background" on line 226 overrides entry on line 191
xrdb:  "*Text.foreground" on line 238 overrides entry on line 192
xrdb:  "*Text.background" on line 226 overrides entry on line 191
xrdb:  "*Text.foreground" on line 238 overrides entry on line 192

It is not that clear what these lines refer to but relative offsets indicate that /usr/share/gnome-settings-daemon/xrdb/Xaw.ad entries override those from /usr/share/gnome-settings-daemon/xrdb/Tk.ad.  Look at this:

$ grep -n \\*Label.....ground  *
Tk.ad:36:*Label.background: BACKGROUND
Tk.ad:37:*Label.foreground: FOREGROUND
Xaw.ad:4:*Label.background: BACKGROUND
Xaw.ad:16:*Label.foreground: FOREGROUND

$ grep -n \\*Text.....ground  *
Tk.ad:77:*Text.background: WINDOW_BACKGROUND
Tk.ad:78:*Text.foreground: WINDOW_FOREGROUND
Xaw.ad:10:*Text.background: WINDOW_BACKGROUND
Xaw.ad:22:*Text.foreground: WINDOW_FOREGROUND

Version-Release number of selected component (if applicable):
gnome-settings-daemon-2.25.3-2.fc11

Comment 1 Michal Jaegermann 2009-01-01 23:43:51 UTC
Thinking about it if a content of subsequent files would be added with 'xrdb -merge' then a presence of duplicate entries should be not an issue.

Comment 2 Bastien Nocera 2009-01-05 11:35:14 UTC
Filed upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=566610

As this isn't a problem that will affect functionality, it will be fixed in rawhide when the patch has been merged upstream and released.


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