Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 Changed 5 years ago by Don-vip

Milestone: 15.02

comment:2 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 8000/josm:

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

comment:3 Changed 5 years ago by aseerel4c26

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 Changed 5 years ago by Don-vip

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 Changed 5 years ago by aseerel4c26

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.