[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 146154] downloaded wallpaper not found by login manager
From:       Stephen Leaf <smileaf () smileaf ! org>
Date:       2007-06-03 16:26:50
Message-ID: 20070603162650.12215.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=146154         




------- Additional Comments From smileaf smileaf org  2007-06-03 18:26 -------
Actually this is completely unrelated to themes, With theming I have it directly \
extracting it to the global directory same as if you were to manually install it. I \
think what is happening here is when loading the background I found this: \
kdebase/workspace/kcontrol/background/bgsettings.cpp \
KBackgroundSettings::setWallpaperList(const QStringList):671-692

KStandardDirs *d = KGlobal::dirs();
QString rpath = d->relativeLocation("wallpaper", *it);
m_WallpaperList.append( !rpath.isEmpty() ? rpath : *it );

So what might be happening is kdm is looking for a wallpaper resource named \
default_blue.jpg in the case of 3.5 and being there should be no user yet (no kde \
session? or perhaps a different user than root is running kdm?) the wallpaper name is \
not found. What we could do is have it always save the full path this would eliminate \
the possibility. However I'm not sure why the author choose to do a relative path in \
the first place?

kdm/backgroundrc
[Desktop0]
Wallpaper=default_blue.jpg


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic