Repeating the last action

Bug #171673 reported by Spikevision
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

"Repeating" is different than "redoing". It refers to applying the same
action again on an object or on a different one. Redoing reapplies the
action that was undone. Some drawing programs, like CorelDraw, give the
ability to repeat the last action(CTRL-R). For exemple, if you applied a
color on an object, you could select another object and repeat the fill
action. The second object will have the same color. If you performed a
"rote/move/leave original" action on an object, this action can be applied
to the newly created object. This can be handy when creating patterns like
in the european flag exemple of "A Guide to Inkscape" by Tavmjong Bah. This
would be faster since it could be done with just a few keyboard shortcuts.

Tags: shortcuts ui
Revision history for this message
Cbvjohn (cbvjohn) wrote :

Originator: NO

I would also find this "repeating" feature really nice, and i'm trying to
implement it. For changing the color, removing/adding objects, it's quite
easy, but I wonder how a rotating/resizing/moving action would be repeated:
I believe that repeating a "move" action would lead to translating the new
object with the same translation and not moving the object to the same
place as the first one (isn't it ?); but what about an object which is
contained in a scaled/rotated group? For a resizing action, would it resize
the other object to the same size as the first one or resize it with the
same magnification? Same question for rotating .. and what about complex
moves ?
An other question is for actions that cannot be repeated on the new object
(for example, moving the nodes of a path, removing a letter of a text,
etc.) what should it do?

Revision history for this message
Spikevision (spikevision) wrote :

Originator: YES

Repeat function applies only to translation, move/leave copy, delete,
color application, scaling, grouping/ungrouping objects, converting a base
object to path, aligning objects.

Repeating is not applicable on text manipulation.

If the repeat action is performed on a group or on more than one selected
object, it will apply only on the applicable objects. For exemple, if a
group or many selected objects containing one bitmap receive a "fill red"
command the bitmap will not be filled (obviously) but the others will be.

Repeating a translation, resize or "move/leave copy" action on a group or
on an abject that contains other objects, will apply on all the objects.

You thought right : repeating a "move" action would lead to translating
the new object with the same translation and not moving the object to the
same place as the first one. Same for rotating. Resizing will use the same
magnification parameters. So the new object will not necessarily have the
same size as the original but rather will be magnified at the same
percentage.

In all cases the translation or the alignment does not place the new
object in the same place as the original one. It it only uses the
parameters of the previous action For exemple: move 4 pixels left, 10
pixels up. Or rotate 23 degrees clockwise with the center of rotation in
the center of the object or the center of rotation at 10 px right 20 px
top.

If the action is not applicable in a certain context, the function is
greyd out in the menu or does not respond when the shortcut key combinaison
is pressed.

I don't fully understand what would be a complex move.

Ryan Lerch (ryanlerch)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Alexandre Prokoudine (alexandre-prokoudine) wrote :
jazzynico (jazzynico)
tags: added: ui ui-shortcuts
removed: objects-freehand-calligraphic transformations
jazzynico (jazzynico)
tags: added: shortcuts
removed: ui-shortcuts
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.