| Summary: | jpg background images do not show with lightdm-gtk-greeter | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Derek Jennings <derekjenn> |
| Component: | RPM Packages | Assignee: | Jani Välimaa <jani.valimaa> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | 3beta1 | ||
| Source RPM: | lughtdm-1.4.0-6.mga3 | CVE: | |
| Status comment: | |||
|
Description
Derek Jennings
2012-12-17 15:05:36 CET
I've noticed same some times ago, but haven't found any solution, yet. Assignee:
bugsquad =>
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) =>
3beta1 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 =>
RESOLVED |