Summary: | downloaded wallpaper not found by login manager | ||
---|---|---|---|
Product: | [Unmaintained] kdm | Reporter: | Olivier Vitrat <ovit.debian> |
Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | montel, smileaf |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Olivier Vitrat
2007-05-30 15:41:01 UTC
this is very similar to downloading themes (i wouldn't be surprised if theming is affected, too). stephen, do you want to take care of this? 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 We're working on making it possible to have system-wide wallpaper downloads so they will then be found by all users and by applications outside of user scope such as KDM. SVN commit 1033830 by ossi: download wallpapers to system location, otherwise kdm won't find them. BUG: 146154 M +1 -0 background.knsrc WebSVN link: http://websvn.kde.org/?view=rev&revision=1033830 |