`string != NULL' warning when setting a solid color as background
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-settings-daemon (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When setting a background from 'Colors & Gradients' in the 'Appearance' pane of g-c-c, I see the following output in ~/.xsession-errors:
GLib-CRITICAL **: g_variant_
** WARNING **: Failed to set the background '(null)': GDBus.Error:
Backtrace attached.
--- Update ---
When I manually set the 'picture-uri' key in 'org.gnome.
* If I set it to a path to an existing regular file, prefixed with 'file://', I see no warnings.
* If I set it to a path to a non-existing regular file, prefixed with 'file://', I get a 'file ... is not a regular file' warning.
* If I set it to something not prefixed with 'file://', I see the above two warnings.
The last case happens every time I set a solid background color in 'Appearance', which sets the 'picture-uri' key to an empty string ("").
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-settings-
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Wed Mar 14 00:46:35 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: gnome-settings-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
mtime.conffile.
mtime.conffile.
Related branches
description: | updated |
description: | updated |
summary: |
- GLib-CRITICAL warning when setting a solid color as background + `string != NULL' warning when setting a solid color as background |
Changed in gnome-settings-daemon (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
The problem seems to come from 20_migrate_ background_ uri.patch, which adds an URI check of the value of 'picture-uri'.