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 5673 - Allow user to restore the original keybindings
Allow user to restore the original keybindings
Status: VERIFIED FIXED
Product: GIMP
Classification: Other
Component: User Interface
1.x
Other All
: Low enhancement
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2000-01-30 01:10 UTC by raoul.boenisch
Modified: 2005-05-19 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description raoul.boenisch 2001-01-28 15:48:18 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.

Comment 1 Raphaël Quinet 2001-02-08 16:44:39 UTC
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).
Comment 2 Raphaël Quinet 2001-04-26 18:14:31 UTC
Re-assigning all Gimp bugs to default component owner (Gimp bugs list)
Comment 3 Michael Natterer 2001-06-19 00:34:28 UTC
Reassigned to current CVS because it's a wishlist item.
Comment 4 Danni Coy 2003-01-28 12:37:46 UTC
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.
Comment 5 Raphaël Quinet 2003-01-28 15:59:55 UTC
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.
Comment 6 Alan Horkan 2003-07-08 16:09:27 UTC
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.  
Comment 7 Dave Neary 2003-07-24 15:23:49 UTC
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.
Comment 8 Nathan Summers 2003-07-24 15:40:13 UTC
Isn't this really a gtk feature request?
Comment 9 Alan Horkan 2003-07-24 18:02:28 UTC
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]
Comment 10 Sven Neumann 2003-07-24 21:44:19 UTC
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.
Comment 11 Dave Neary 2003-07-25 07:44:25 UTC
Changing comment to something more appropriate to the current state of
the bug.

Dave.
Comment 12 Alan Horkan 2003-07-25 12:48:57 UTC
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.  
Comment 13 Michael Natterer 2004-07-21 16:14:20 UTC
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.
Comment 14 Raphaël Quinet 2004-07-25 11:44:24 UTC
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.
Comment 15 Michael Natterer 2004-07-29 01:19:42 UTC
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.
Comment 16 Alan Horkan 2005-05-19 17:29:26 UTC
Requires a Restart but it definately works in gimp 2.3