attach_gconf collects default settings instead of non-default

Bug #583109 reported by Draycen DeCator
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Fix Released
Medium
Martin Pitt
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

When adding a hook to retrieve non-default gconf settings for Nautilus (as requested by bug 581812), I found that after adding attach_gconf(report, 'nautilus-data') and running 'ubuntu-bug nautilus', the default settings are retrieved instead. I have tried this on my system, along with a fresh live session in a VM.

When I go into gconf-editor and change any of the default settings for Nautilus, the setting is then not pulled by the hook.

I also noticed that gnome-panel uses the same hook, and I found that running 'ubuntu-bug gnome-panel' also displays settings that are currently at their default, and it leaves out the settings that I have manually changed.

Revision history for this message
Draycen DeCator (ddecator) wrote :

Did some more testing, and found that some of the settings reported are indeed non-default, but most of them are at their defaults:

/apps/nautilus/desktop/computer_icon_visible=false
/apps/nautilus/desktop/home_icon_visible=false
/apps/nautilus/desktop/network_icon_visible=false
/apps/nautilus/desktop/trash_icon_visible=false
/apps/nautilus/icon_view/default_sort_in_reverse_order=false
/apps/nautilus/icon_view/default_use_manual_layout=false
/apps/nautilus/icon_view/default_use_tighter_layout=false
/apps/nautilus/icon_view/labels_beside_icons=false
/apps/nautilus/list_view/default_column_order=[name,size,type,date_modified,date_accessed,group,where,mime_type,octal_permissions,owner,permissions,selinux_context]
/apps/nautilus/list_view/default_sort_in_reverse_order=false
/apps/nautilus/preferences/always_use_location_entry=false
/apps/nautilus/preferences/background_filename=
/apps/nautilus/preferences/background_set=false
/apps/nautilus/preferences/click_policy=single
/apps/nautilus/preferences/desktop_font=FreeSans 9
/apps/nautilus/preferences/desktop_is_home_dir=false
/apps/nautilus/preferences/enable_delete=false
/apps/nautilus/preferences/exit_with_last_window=false
/apps/nautilus/preferences/media_autorun_never=false
/apps/nautilus/preferences/media_autorun_x_content_ignore=[x-content/blank-cd,x-content/audio-cdda]
/apps/nautilus/preferences/media_autorun_x_content_start_app=[x-content/software,x-content/blank-cd,x-content/audio-cdda]
/apps/nautilus/preferences/show_advanced_permissions=false
/apps/nautilus/preferences/side_pane_background_filename=
/apps/nautilus/preferences/side_pane_background_set=false
/apps/nautilus/preferences/side_pane_view=
/apps/nautilus/preferences/sidebar_width=100
/desktop/gnome/file_views/show_backup_files=false
/desktop/gnome/file_views/show_hidden_files=false

For example, my font and the fact that I use single-click are rightly shown, but it suggests that hidden files being hidden is not the default.

Martin Pitt (pitti)
Changed in apport:
assignee: nobody → Martin Pitt (pitti)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r1776

Changed in apport:
status: In Progress → Fix Released
Changed in apport (Ubuntu):
status: New → Fix Committed
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.14-0ubuntu1

---------------
apport (1.14-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - hookutils.py: Add new method attach_drm_info() to read and format
      /sys/class/drm/*. (desktop-maverick-xorg-gpu-freeze-reports)
    - packaging-apt-dpkg.py: Fix deprecated python-apt variables, thanks David
      Stansby. (LP: #591695)
    - launchpad.py: Fix crash on attachments which are named *.gz, but
      uncompressed. (LP: #574360)
    - hookutils.py, attach_gconf(): Fix defaults parsing for boolean keys.
      (LP: #583109)
  * debian/control: Bump p-distutils-extra build-dependency to 2.19, to ensure
    that we get a complete translation template. (LP: #533565)
 -- Martin Pitt <email address hidden> Wed, 16 Jun 2010 15:50:55 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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