GNOME Bugzilla – Bug 342112
Need a way to reset gimprc options
Last modified: 2008-01-15 13:07:56 UTC
Please describe the problem: I have set custom keyboard shortcuts for Zoom In and Zoom Out (File - Preferences - Interface - Configure Keyboard Shortcuts). "Use dynamic..." and "Save...on exit" are off. After clicking "Save...now", ~/.gimp-2.2/menurc is updated with the customisations: $ grep -v '^;' ~/gimp-2.2/menurc (gtk_accel_path "<Actions>/view/view-zoom-in" "<Control>Up") (gtk_accel_path "<Actions>/view/view-zoom-out" "<Control>Down") After exiting Gimp, this file is unchanged from the above. However, after restarting it, the shortcuts for these actions have reverted to the default ('+' and '-' respectively); the file is still unchanged. Steps to reproduce: 1. Customise some keyboard shortcuts 2. Exit and restart Gimp 3. Observe that the customisations have been lost Actual results: Expected results: Does this happen every time? Yes Other information: GTK version 2.8.12
Seems to work for me, at least in GIMP 2.3. Is anyone able to reproduce this problem?
Does your ~/.gimp-2.2/gimprc contain the following line? (restore-accels no) If yes, just remove it.
Yes it does. Removed that line, keyboards shortcuts are now restored correctly. Thanks for the tip! - not sure where that setting came from, unless left over from an upgrade?
Yea, earlier GIMP versions had a prefs button for this. I guess you disabled this, maybe accidentially, and then upgraded GIMP. Not sure how to continue from here. It was definitely not a bug, however the undiscoverability of these options that have no GUI *is* a bug. Changing bug summary accordingly and leaving the bug open for discussion.
As far as I can see, the summary for this bug is equivalent to, "we need a gui for the things that we have decided to leave out of the gui". Am I missing something? Or are you suggesting a "Reset all options not appearing in Prefs to their default values" command?
The latter :) Maybe simply a "Reset all preference options to defaults", since only resetting the options that are not user-visible would be pretty hard to implement or unreliable (since i guess we would end up with a manually done list, it's simply not worth to set up an infrastructure for this).
Yep. We also need this so to get rid of the user decision whether to migrate from earlier GIMP versiosn or to do a fresh user installation. We can then remove the remaining bits of the user installation dialog.
Fixed in CVS: 2006-06-04 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimppropwidgets.c (gimp_prop_file_chooser_button_callback): fix typo so the "notify" signal doesn't stay blocked. * app/dialogs/preferences-dialog.c: added "Reset" button which resets all prefs values to their defaults. Fixes bug #342112.