After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342112 - Need a way to reset gimprc options
Need a way to reset gimprc options
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.2.x
Other All
: High normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-17 12:14 UTC by Jonathan Marten
Modified: 2008-01-15 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Marten 2006-05-17 12:14:22 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
Comment 1 Sven Neumann 2006-05-19 14:03:23 UTC
Seems to work for me, at least in GIMP 2.3.  Is anyone able to reproduce this problem?
Comment 2 Michael Natterer 2006-05-25 09:43:39 UTC
Does your ~/.gimp-2.2/gimprc contain the following line?

(restore-accels no)

If yes, just remove it.
Comment 3 Jonathan Marten 2006-05-25 10:21:06 UTC
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?
Comment 4 Michael Natterer 2006-05-25 10:41:28 UTC
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.

Comment 5 weskaggs 2006-05-25 16:44:21 UTC
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?
Comment 6 Michael Natterer 2006-05-25 17:17:15 UTC
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).
Comment 7 Sven Neumann 2006-05-29 12:09:59 UTC
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.
Comment 8 Michael Natterer 2006-06-04 18:06:21 UTC
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.