Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11046 closed enhancement (fixed)

tags: ctrl+Z to undo a change does nothing

Reported by: aseerel4c26 Owned by: team
Priority: minor Milestone: 15.02
Component: Core Version: latest
Keywords: undo Cc:

Description

  • Revision: 7906
  • Linux
  • Java version: 1.8.0_31, Oracle Corporation, OpenJDK 64-Bit Server VM

What steps will reproduce the problem?

  1. make some data changes and click the upload button
  2. type foobaz in the comment field
  3. hit ctrl+Z to undo your recent change in the comment field (to be able to correct it into "foobar")

What is the expected result?

the change is undone

What happens instead?

nothing

additional information

right clicking and "undo" works

Also happens with version 7992 and a new .josm directory

The same happens if you edit tags of objects.

Attachments (0)

Change History (5)

comment:1 by Don-vip, 10 years ago

Milestone: 15.02

comment:2 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 8000/josm:

fix #11046 - bind Undo action to Ctrl-Z in JosmTextField

comment:3 by aseerel4c26, 10 years ago

Nice, thanks! And while you are at it: what about the usual counterpart "redo" (undo undo) – I did not see it in your edit and not in TextContextualPopupMenu.java .

comment:4 by Don-vip, 10 years ago

In 8002/josm:

fix #11046 - add Redo action, bound to Ctrl-Y in JosmTextField. Don't bind undo/redo actions in headless mode to avoid exception in unit tests

comment:5 by aseerel4c26, 10 years ago

tested with version 8002 and a fresh config: the shortcut keys work fine now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.