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 387779 - Transform tools could make better use of cursor keys
Transform tools could make better use of cursor keys
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-20 04:25 UTC by david gowers
Modified: 2018-05-24 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description david gowers 2006-12-20 04:25:54 UTC
* Rotate could use the cursor keys to adjust angle (with CTRL retaining its current meaning, and SHIFT being move-by-45-degree-increments, and ALT to adjust centre)

* Skew could use the cursor keys to adjust skew, with SHIFT being adjust-by-larger-amount as with Move tool

* Flip could trigger a flip by pressing up/down to flip vertically, or left/right to flip horizontally.

* Scale and Crop: cursors could expand the scale rectangle on that border; CTRL+cursors could shrink it, with SHIFT having similar meaning as with Skew.
ALT+cursors could move it.

* Perspective (perhaps - this would require a bit more work): cursors adjust the position of the current point, CTRL+cursors move between points, SHIFT+cursors move as in Skew, ALT+left/right expand the horizontal line the point is on, ALT+up/down expand the vertical line the point is on, like this:

(@ is the selected point, # are unselected points)

   @----#
  /    /
 /    /
#----#

  Pressing left or right would expand the top line; pressing up or down would expand the left line.


These changes would make a great difference in usability, particularly for fine adjustments. Most of the transform tools are naturally suited to a keyboard interface. I expect I could implement at least some of this; I'll look into it.
Comment 1 Sven Neumann 2006-12-20 07:52:46 UTC
Some of your suggestions are controversial. Ctrl for example is already used in the Scale tool.
Comment 2 david gowers 2006-12-21 07:15:12 UTC
Revised:

* Scale and Crop: cursors could expand the scale rectangle on that border;
SHIFT having similar meaning as with Skew.
ALT+cursors could shrink it.
ALT+SHIFT could move it (meh -- Space would be nice, but can't use that.)

The others I have checked are in no conflict with existing behaviours.
Comment 3 Sven Neumann 2008-05-30 14:45:41 UTC
Peter has some ideas for a combined transform tool and I would very much like to see them implemented for 2.8. But perhaps we can still get better key bindings for the current tools into 2.6. Let's see if this catches someone's interest in the next few weeks, otherwise bump it to 2.8...
Comment 4 Martin Nordholts 2008-05-31 17:55:25 UTC
I have added simple key support to the Rotate Tool that demonstrates a possible approach. With one example, we can easily put this as a gnome-love bug.

Commited to trunk, rev 25873:

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

	* app/tools/gimprotatetool.c (gimp_rotate_tool_key_press):
	Implemented this function to support rotating with arrow keys. See
	bug #387779.

To see the diff, do 'svn diff -r25872:25873' in GIMP source root.
Comment 5 Sven Neumann 2008-07-11 19:44:20 UTC
Actually, that example is not really a good one as it modifies the tool by fiddling with its user interface. That will make it more difficult to change the code later so that it does not rely on the tool popup dialog.

Also the tool function should be considered. When the tool is in  TRANSFORM_HANDLE_CENTER mode, the cursor keys should move the center of rotation, similar to how the rectangle tool behaves.

Let's keep this as is for 2.6 and bump it to the 2.8 milestone.
Comment 6 Martin Nordholts 2010-01-23 10:00:23 UTC
We won't have time to do this for 2.8. Let's just close it as a duplicate to the free transform tool and make sure it's handled properly there.

*** This bug has been marked as a duplicate of bug 138462 ***
Comment 7 Michael Natterer 2012-08-25 22:41:44 UTC
Reopening because it's unrelated to the free transform tool per se.
Comment 8 GNOME Infrastructure Team 2018-05-24 12:06:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/226.