"Universal Access" panel crashes if overlay-scrollbar isn't installed (g_settings_new() on absent schema)

Bug #1070905 reported by Allison Karlitskaya
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Low
William Hua
Quantal
Won't Fix
Low
Unassigned
Raring
Fix Released
Low
William Hua

Bug Description

We have a patch in the control-centre that depends on a schema that may not be installed (if overlay scrollbars have been removed).

This causes the entire control centre to crash when trying to open the a11y panel if overlay scrollbars have been uninstalled (which is something particularly likely to be done by a user requiring a11y features, since overlay scrollbars are known to cause issues for these users).

Tags: patch

Related branches

Changed in gnome-control-center (Ubuntu):
assignee: nobody → William Hua (huaw)
importance: Undecided → Low
status: New → Triaged
assignee: William Hua (huaw) → William Hua (attente)
Revision history for this message
William Hua (attente) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Check for schema availability" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Allison Karlitskaya (desrt) wrote : Re: a11y panel calls g_settings_new() on (uninstalled) overlay scrollbar schema

hi Will,

Two notes:

1) you don't need to set this variable to NULL -- it will already be NULL by virtue of being in a GObject priv structure.

2) the code further down calls g_settings_set() on the object without first checking if it will be NULL, so in the case that you don't do g_settings_new() there will be a crash (or probably at least critical) there.

Revision history for this message
William Hua (attente) wrote :
summary: - a11y panel calls g_settings_new() on (uninstalled) overlay scrollbar
- schema
+ "Universal Access" panel crashes if overlay-scrollbar isn't installed
+ (g_settings_new() on absent schema)
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I went ahead and uploaded this to the quantal-proposed queue so that I could go ahead and merge gnome-control-center 3.6 into our desktop branch for raring.

Changed in gnome-control-center (Ubuntu):
status: Triaged → In Progress
Jeremy Bícha (jbicha)
Changed in gnome-control-center (Ubuntu Quantal):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Brian Murray (brian-murray) wrote :

This bug is missing SRU information which is required for the package to be published in the -proposed queue. For more details see http://wiki.ubuntu.com/StableReleaseUpdates.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.6.3-0ubuntu3

---------------
gnome-control-center (1:3.6.3-0ubuntu3) raring; urgency=low

  * debian/patches/60_ubuntu_nav_bar.patch:
    - restore the navigation bar interface
 -- Sebastien Bacher <email address hidden> Wed, 21 Nov 2012 21:36:46 +0100

Changed in gnome-control-center (Ubuntu Raring):
status: In Progress → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Given that this bug has been missing the details required by the SRU process for more than 2 months, I am rejecting the upload. Please re-upload after adding the details to the bug.

If this bug is not part of the delta, then please remove mention of it from the changelog, as bug #1035219 does have the necessary information.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in gnome-control-center (Ubuntu Quantal):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.