← Back to team overview

desktop-packages team mailing list archive

[Bug 902780] Re: gnome-control-center Keyboard Layout and User Accounts modules crash under IceWM

 

** Patch added: "harden against unset XDG_CURRENT_DESKTOP"
   https://bugs.launchpad.net/bugs/902780/+attachment/2627922/+files/missing-xdg_current_desktop.patch

** Bug watch added: GNOME Bug Tracker #665947
   https://bugzilla.gnome.org/show_bug.cgi?id=665947

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/902780

Title:
  gnome-control-center Keyboard Layout and User Accounts modules crash
  under IceWM

Status in “gnome-control-center” package in Ubuntu:
  New

Bug description:
  Ubuntu 11.10 patched to the minute with oneiric-proposed
  Specifically, gnome-control-center 1:3.2.2-0ubuntu1; icewm 1.3.7-1

  Cause: IceWM does not set environment variable $XDG_CURRENT_DESKTOP;
  gnome-control-center relies on this variable to be set.  Crash happens because
  it tries to dereference a null pointer returned by getenv().

  The bug (actually two bugs) is introduced by the Ubuntu patches
  10_keyboard_layout_on_unity.patch and 53_use_ubuntu_help.patch.

  TO REPRODUCE under any window manager:

     $ env -u XDG_CURRENT_DESKTOP gnome-control-center
     [ click on Keyboard Layout ]
     [ OR click on Keyboard, then Layout Settings ]
     [ OR click on User Accounts ]

  Patch attached.  The patch makes gnome-control-center treat a missing
  $XDG_CURRENT_DESKTOP the same as an empty value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/902780/+subscriptions


References