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 493030 - Keyboard shortcut: Reset Brush Scale
Keyboard shortcut: Reset Brush Scale
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.4.x
Other All
: Normal minor
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-11-03 12:49 UTC by strata_ranger
Modified: 2008-10-30 20:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description strata_ranger 2007-11-03 12:49:05 UTC
On the Keyboard Shortcuts dialog, there doesn't appear to be any command for resetting the brush scalar to the default value (1.00).  There are commands available for setting maximum (10.0) and minimum (0.01) scalars, but what about 1.00 ?

Other information:
Comment 1 Sven Neumann 2007-11-04 10:37:33 UTC
Good point, we might want to add a reset action for GIMP 2.6.
Comment 2 Martin Nordholts 2008-05-31 20:06:44 UTC
Fixed in trunk, rev 25874:

2008-05-31  Martin Nordholts  <martinn@svn.gnome.org>

	Add keyboard shortcut support for reseting to default value of
	e.g. brush scale. Fixes bug #493030.

	* app/actions/actions.[ch]: Make action_select_value() take a
	default-parameter and add support for it. Also use default_value
	from gint and gdouble param specs.

	* app/actions/actions-types.h: Added
	GIMP_ACTION_SELECT_SET_TO_DEFAULT.

	* app/actions/tools-actions.c: Add _SET_TO_DEFAULT actions.

	* app/actions/view-commands.c:
	* app/actions/layers-commands.c:
	* app/actions/context-commands.c: Pass defaults to
	action_select_property().
Comment 3 Sven Neumann 2008-06-02 07:12:24 UTC
There are lot more default actions missing, for example "context-brush-radius-set-default" (which was the initial point of this bug report).
Comment 4 strata_ranger 2008-06-02 15:22:15 UTC
For me, brush radius isn't a problem (I generally use one or two adjustable brushes in my editing), and there isn't necessarily a 'default' value for brush radius/hardness/etc. to be reset to anyway (adjustable brushes can only be compared to their file on disk).
Comment 5 Sven Neumann 2008-06-02 19:15:55 UTC
2008-06-02  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-actions.c: added a few more actions to set
	tool values to default values. Added "backslash" as the default
	shortcut for "tools-value-2-set-to-default", which is effectively
	"Reset Brush Scale" (bug #493030).