With lightdm-gtk-greeter in mga3beta1 the background is black Selecting any .png image in /etc/lightdm/lightdm-gtk-greeter.conf works OK, but any jpg image does not. It appears to be the same as this bug report https://bugs.launchpad.net/lightdm/+bug/1086199
I've noticed same some times ago, but haven't found any solution, yet.
Assignee: bugsquad => jani.valimaaStatus: NEW => ASSIGNEDCC: (none) => jani.valimaa
Here is a small patch I worked out to fix this bug. It works for me :-) --- lightdm/src/lightdm-gtk-greeter.c 2012-08-30 18:39:09.000000000 +0100 +++ lightdm/src/lightdm-gtk-greeter.c 2012-12-20 18:30:03.216355000 +0000 @@ -801,6 +801,7 @@ g_warning ("Failed to load background: %s", error->message); g_clear_error (&error); g_free (path); + background_pixbuf=gdk_pixbuf_add_alpha (background_pixbuf,FALSE,255,255,255); } else g_debug ("Using background color %s", value);
Whiteboard: (none) => 3beta1Keywords: (none) => PATCH
Thx, for your patch. Modified it a bit [1] to avoid error [2] in log if background image loading fails before adding alpha channel. New release should be in mirrors in any minute, please test it. [1] http://svnweb.mageia.org/packages/cauldron/lightdm-gtk-greeter/current/SOURCES/lightdm-gtk-greeter-1.3.1-add-alpha-channel.patch?revision=333428&view=markup [2] gdk_pixbuf_add_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed
lightdm-gtk-greeter-1.3.1-3.mga3 is now displaying .jpg backgrounds OK
Closing as fixed. Feel free to reopen if needed.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED