After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339404 - Unable to change the background after a manipulation with gconf
Unable to change the background after a manipulation with gconf
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Background
2.14.x
Other All
: Normal major
: ---
Assigned To: Rodney Dawes
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-22 14:31 UTC by Jean-Christophe Jaskula
Modified: 2007-01-08 16:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch presented above (472 bytes, patch)
2006-04-22 14:34 UTC, Jean-Christophe Jaskula
none Details | Review

Description Jean-Christophe Jaskula 2006-04-22 14:31:11 UTC
Please describe the problem:
After unchecking /desktop/gnome/background/draw_background entry, it is
impossible to change the background even this entry is checked again.

Steps to reproduce:
1. Uncheck /desktop/gnome/background/draw_background.
2. Check this entry.
3. Try to modify the background.


Actual results:


Expected results:


Does this happen every time?


Other information:
Here is a patch which solves this bug. 

control-center-2.12.3.orig/libbackground/preferences.c      2005-11-07
19:06:45.000000000 +0100
+++ control-center-2.12.3/libbackground/preferences.c   2006-04-17
22:20:22.000000000 +0200
@@ -361,7 +361,7 @@
                                (prefs->wallpaper_filename != NULL) &&
                    strcmp (prefs->wallpaper_filename, "") != 0 &&
                    strcmp (prefs->wallpaper_filename, "(none)") != 0)
-                       prefs->wallpaper_enabled = TRUE;
+                       prefs->enabled = TRUE;
                else
                        prefs->enabled = FALSE;
        } else {
Comment 1 Jean-Christophe Jaskula 2006-04-22 14:34:36 UTC
Created attachment 64106 [details] [review]
Patch presented above
Comment 2 Sergej Kotliar 2006-04-23 13:23:38 UTC
I can't reproduce it in GNOME 2.14.
Can you try a more recent distro, like a live CD or something? Also, it's always better to submit patches agains the most recent release (2.14), or even against CVS HEAD.
Comment 3 Jean-Christophe Jaskula 2006-04-23 15:32:09 UTC
I forgot to say that i don't use nautilus to paint the wallpaper. 

/apps/nautilus/preferences/show_desktop and background_set entries are unchecked. It is important because if they are checked, background is drawn by nautilus. And it may be why you can't reproduce it.

And I verified cvs version but the part of the file I have patched hasn't been modified for two years. And when I look at this file, I think my patch should be applied. 

Indeed, the part of the file I have modified is a bit strange. Please take a look and tell me if I'm wrong.

Best regards,

Jean-Christophe Jaskula
Comment 4 Jean-Christophe Jaskula 2006-06-27 20:18:21 UTC
Hi, 

I switched to Gnome 2.14 few weeks ago but I still have this problem. I wasn't enable to test my patch but I'm pretty sure it solves the issue: it has already solved it for Gnome 2.12.

Can you take a look ?

Best regards,

Jean-Christophe Jaskula
Comment 5 André Klapper 2006-10-02 10:14:41 UTC
also see bug 337674 and bug 342356, perhaps the same issue.
Comment 6 Rodney Dawes 2007-01-08 16:28:21 UTC
Committed. Thanks.