[power]: gnome-control-center crashes if indicator-power is not installed in Unity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
High
|
Papercuts Ninjas | ||
gnome-control-center (Ubuntu) |
Fix Released
|
High
|
Iain Lane | ||
Saucy |
Fix Released
|
High
|
Iain Lane |
Bug Description
[ Description ]
gnome-control-
[ Test case ]
1. Uninstall indicator-power
2. Open System Settings and click Power
3. System Settings crashes
At 3 it shouldn't crash. If you have indicator-power installed, you should see the option to configure whether it shows.
[ Regression potential ]
This adds some new code to check if the GSettings schema is installed, since
that's a reliable way to check for indicator-power's presence, and is what the
code modifies. It also makes the option appear in DEs other than Unity.
There's a chance that the GSettings schema-detection work could be wrong. It
also wouldn't hurt to check non-Unity environments such as a gnome-panel
session.
[ Original report ]
I see that unity recommends indicator-power; let's make it a depends instead.
ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: gnome-control-
ProcVersionSign
Uname: Linux 3.9.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
Date: Thu Jun 27 17:42:04 2013
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2013-06-14 (13 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
MarkForUpload: True
ProcCmdline: gnome-control-
Signal: 5
SourcePackage: gnome-control-
StacktraceTop:
?? () from /usr/lib/
?? () from /usr/lib/
g_object_
g_object_new () from /usr/lib/
?? () from /usr/lib/
Title: [power]: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sbuild sudo
usr_lib_
activity-
deja-dup 27.3.1-0ubuntu1
gnome-
gnome-
indicator-datetime 12.10.3daily13.
Related branches
- Brandon Schaefer (community): Disapprove
-
Diff: 36 lines (+6/-1)2 files modifieddebian/changelog (+5/-0)
debian/control (+1/-1)
information type: | Private → Public |
tags: | added: bugpattern-needed |
Changed in unity (Ubuntu): | |
status: | Triaged → Invalid |
Changed in gnome-control-center (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Iain Lane (laney) |
description: | updated |
Changed in hundredpapercuts: | |
status: | Confirmed → Triaged |
importance: | Undecided → Low |
no longer affects: | unity (Ubuntu) |
Changed in hundredpapercuts: | |
status: | Triaged → In Progress |
Changed in gnome-control-center (Ubuntu Saucy): | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in gnome-control-center (Ubuntu Saucy): | |
assignee: | nobody → Iain Lane (laney) |
Changed in gnome-control-center (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in hundredpapercuts: | |
status: | In Progress → Fix Released |
importance: | Low → High |
StacktraceTop: set_property (object=<optimized out>, prop_id=<optimized out>, value=<optimized out>, pspec=<optimized out>) at /build/ buildd/ glib2.0- 2.37.3/ ./gio/gsettings .c:492 set_property (nqueue= 0x7f9e84039660, value=<optimized out>, pspec=0x7f9e841 2b850, object= 0x7f9e84055ba0) at /build/ buildd/ glib2.0- 2.37.3/ ./gobject/ gobject. c:1363 new_internal (class= class@entry= 0x7f9e8412ecd0, params= params@ entry=0x7fff9cc e3c50, n_params=1) at /build/ buildd/ glib2.0- 2.37.3/ ./gobject/ gobject. c:1776 new_valist (object_ type=object_ type@entry= 140318797394272 , first_property_ name=first_ property_ name@entry= 0x7f9e811b19d3 "schema-id", var_args= var_args@ entry=0x7fff9cc e3da8) at /build/ buildd/ glib2.0- 2.37.3/ ./gobject/ gobject. c:1999 type=1403187973 94272, first_property_ name=first_ property_ name@entry= 0x7f9e811b19d3 "schema-id") at /build/ buildd/ glib2.0- 2.37.3/ ./gobject/ gobject. c:1556
g_settings_
object_
g_object_
g_object_
g_object_new (object_