Issue 17716 - make <ctrl>+Y the default shortcut for "repeat" instead of "redo"
Summary: make <ctrl>+Y the default shortcut for "repeat" instead of "redo"
Status: CLOSED DUPLICATE of issue 41586
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1 RC
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: requirements
QA Contact: issues@framework
URL:
Keywords: oooqa, rfe_eval_ok, usability
: 45565 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-07-31 15:15 UTC by magrawal
Modified: 2007-11-21 09:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description magrawal 2003-07-31 15:15:28 UTC
Often times when I want to insert a few rows, I have used the following 
procedure in Excel:


1. Insert a row by selecting a row | right-click | insert 


2. Use Ctrl-Y (redo) repeatedly to add more rows


I find this a convenient shortcut to add a few rows quickly. It is possible that 
OO allows the insertion of multiple rows but the ability to use ctrl-Y is very 
convenient. Hopefully this feature will be added to OO soon.
Comment 1 oc 2003-08-07 09:43:32 UTC
Excel offers a REPEAT ACTION instead of REDO as long as the UNDO
function is not used. 
Comment 2 bettina.haberer 2004-01-29 20:09:35 UTC
Summary: Use of Ctrl-Y to insert rows.
This issue is considered for OO.o later.
Comment 3 erwin.tenhumberg 2004-11-09 14:16:45 UTC
enhanced summary, set keywords and reassigned issue according to RFE process
Comment 4 lohmaier 2004-11-17 22:55:19 UTC
Please explain what is the problem here.

OOo offers Redo/Restore ( "undo an undo" ) and Repeat (do last action again)

<ctrl>+Y is assigned to Restore by default, but it is no problem to assing this
combination to Repeat. Once the mapping is modified, you can 
  1. Insert a row by selecting a row | right-click | insert 
  2. Use Ctrl-Y (redo) repeatedly to add more rows

So where's the problem?
Comment 5 magrawal 2004-11-18 17:36:11 UTC
I guess it would help if REPEAT becomes the default action for Ctrl-Y instead of 
RESTORE. This could just be my opinion, but I am a long-time Excel user and find 
the REPEAT functionality very useful. I use Ctrl-Z to undo.
Comment 6 magrawal 2004-11-19 22:19:26 UTC
Actually, I believe UNDO of UNDO and REPEAT are mutually exclusive. Therefore, 
the action of Ctrl-Y could be the following:

If LAST_ACTION is UNDO
  Then UNDO of UNDO
Else
  REPEAT LAST_ACTION.

In fact, if a stack of actions is being maintained (for UNDO), perhaps the above 
could be modified to:

LAST_ACTION = ACTION_STACK.pop()
If LAST_ACTION is UNDO
  Then UNDO of UNDO
Else
  REPEAT LAST_ACTION.
Comment 7 magrawal 2004-11-21 14:51:53 UTC
Actually, after thinking a little bit, I believe the following is closer to the 
behavior of Ctrl-Y in MSO:



LAST_ACTION = ACTION_STACK.pop()
If LAST_ACTION is UNDO
  Then UNDO of UNDO
Else
  Do
  REPEAT LAST_ACTION
  While (Keyboard_input == Ctrl-Y)

Therefore, continue UNDO if UNDO while the stack has UNDOs. The moment you 
encounter an action that is not an UNDO, repeat the last action as long as the 
user presses Ctrl-Y. Do not pop the stack for repeats.
Comment 8 lohmaier 2004-12-07 21:44:21 UTC
changed summary, changed component (functionality not only available in
spreadsheet), type to enhancement, os, platform all

Alternative instead of changing the default shortcuts:

use <ctrl>+Y for repeat if there's nothing to redo and for redo (undo of undo)
otherwise
Comment 9 eric.savary 2005-03-21 04:02:21 UTC
*** Issue 45565 has been marked as a duplicate of this issue. ***
Comment 10 stp 2007-11-21 09:27:34 UTC
dupe

*** This issue has been marked as a duplicate of 41586 ***
Comment 11 stp 2007-11-21 09:28:59 UTC
closing