GNOME Bugzilla – Bug 5673
Allow user to restore the original keybindings
Last modified: 2005-05-19 17:29:26 UTC
Package: gimp Severity: wishlist Hi, While changing the keybindings on-the-fly as gimp offers it might happen that you use a keybinding already in use. The old binding will be erased in favour of the newly created one. So it often happens that I want to restore the original bindings again. This of course is possible by quitting gimp, erasing the preferences file and starting gimp again, but as far as I am concerned this is not very practical. Is there a feature to restore the original keybindings without terminating gimp? If not I would suggest implementing it. I'm sure many users will say that this breaks the idea of having easily customizeable personal keymaps, but I think it is quite comfortable anyway. . ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-28 10:48 ------- This bug was previously known as bug 5673 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=5673 Originally filed under the gimp product and general component. The original reporter (raoul.boenisch@uni-essen.de) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, egger@suse.de.
I don't know if it would be easy to restore all keybindings without exiting the application (and without playing strange tricks with the GTK+ menu code). But at least we could add a button somewhere in the preferences dialog that resets the keybindings, even if it pops up a box telling the user to restart the GIMP for the changes to take effect. This would be less confusing to the non-expert users who do not know that they should delete the menurc file (which is in a different location depending on the version of the GIMP that they are using).
Re-assigning all Gimp bugs to default component owner (Gimp bugs list)
Reassigned to current CVS because it's a wishlist item.
I think it would be best to go the whole hog and let the user save and load there own preference files including a default one... This allows users to quickly get the setup that they are used to on somebody elses computer. It also allows for the development of task based shortcut files.
Note that you can already transfer your key bindings from one computer to another by copying the file ~/.gimp-1.2/menurc. If you want to restore the default key bindings, you can delete that file. The topic of this bug report was about providing an easier way to restore the defaults without requiring the user to edit or delete any file (i.e., provide an option in the GIMP's user interface). If you want to suggest other features such as the ability to transfer parts of the preferences to another computer, please open a new bug report for that. Each bug report should focus on one issue only.
Any interface that would allow you to select different keybinding sets such as the psmenurc (Photoshop keybindings) would need to include some sort of a Reset button or a Default set of keybindings. (it would depend on this feature being implemented). if someone does add a Reset button they should probably keep it in mind. I made a quick search and i dont see if Danni Coy has posted a bug report/feature request about being able to change to differnt profiles/sets of keybindings. If on closer inspection I still cannot find one I will create a new request.
Setting this to Future, because the GIMP doesn't have a way to allow the user to select between multiple presents of keybindings, and because there is a straightforward workaround for resetting factory defaults (even if it's not done through the gimp interface). Dave.
Isn't this really a gtk feature request?
Nope. This is not a GTK issue, we can already clear the keybindings by deleting the menurc. We need to be able to allow users to revert to factory settings without having to much about with Menurc files. The way I see it we need an option to to switch between different sets of keybindings (i thought there was a bug report requesting a GUI way to switch to the Photoshop keybindings but apparently not). Restoring keybindings to factory settings could be included in the method to switch between sets of keybindings. An easy way to switch between different sets of keybindings would allow GIMP to do great things like provide Photoshop keybindings adn provide Gimp 1.2 keybindings (which allows us to change the keybindings of the new versions without pissing off current users). [It gets more complicated but no need to get into it right now]
This feature (restoring of original keybindings) has been added to CVS a while ago already. This report should either be changed or clsoed as FIXED.
Changing comment to something more appropriate to the current state of the bug. Dave.
I probably should have replied here instead of to sven directly but i was in a hurry. I thought it might be better to close this bug report and create a new report.
Resetting to default values is really implemented now (the prefs buttons do something now): 2004-07-21 Michael Natterer <mitch@gimp.org> Enabled the various "Clear saved foobar now" buttons in prefs: * app/gui/session.[ch] * app/menus/menus.[ch] * app/widgets/gimpdevices.[ch]: implemented the _clear() functions: unlink() the rc file and set an internal flag that it has been deleted. Added "gboolean always_save" parameter to the _save() functions and don't save anything if it is FALSE and the internal deletion flag has been set. * app/gui/gui.c * app/widgets/gimpdevicestatus.c: changed accordingly. * app/gui/preferences-dialog.c: added callbacks for all "Save now" and "Clear now" buttons and show error messages if clearing fails. Inform the user that she has to restart GIMP to see the effect of the clearing.
As suggested in several comments above, I am changing the topic of this bug report back to something that describes the original suggestion so that we can close it. Allowing multiple sets of keybindings is a separate issue that should be submitted in a new bug report. Alan, please feel free to submit a new one with a good description. I don't like the current label, though: "Clear Saved Keyboard Shortcuts Now" could imply that the user would immediately lose all shortcuts. Most other options apply immediately and "clear" is misleading in this case, especially if the user does not know how this is implemented (the "saved" stuff refers to a file). Even if the dialog that pops up afterwards says that the shortcuts will be reset to the defaults when the gimp is restarted, I think that many users may be afraid to press this button, thinking that they would lose everything. If they do not press the button, they will not know that it would probably do what they want. I suggest changing the label to: "Reset Saved Keyboard Shortcuts to Default Values". The dialog that pops up afterwards can remain as it is now.
Fixed in CVS: 2004-07-29 Michael Natterer <mitch@gimp.org> * app/gui/preferences-dialog.c: renamed "Cleared saved foobar now" buttons to "Reset saves foobar to default values". Fixes bug #5673. Added mnemonics for all the configure/save/reset buttons.
Requires a Restart but it definately works in gimp 2.3