Modify

Opened 16 years ago

Closed 10 years ago

#2170 closed enhancement (fixed)

Add shortcut support to all actions without shortcuts

Reported by: Claudius Owned by: team
Priority: minor Milestone:
Component: Core shortcuts Version:
Keywords: Cc:

Description

The preset menu should auto-populate mnemonic keys to the subcategories to make it possible to navigate to to the motorway preset by pressing "Alt+P" -> "S" (Streets menu), "M" Motorway preset.

Attachments (0)

Change History (5)

comment:1 by anonymous, 16 years ago

Summary: Add mnemonic support to the preset menuAdd shortcut support to all actions without shortcuts

The shortcut handling should allow to assign shortcuts to actions which have no shortcut (but are available in the menu).

comment:2 by Claudius, 15 years ago

Currently all menu shortcuts take only the english shortcut, e.g. Alt+T (_Tools) opens the german "Werkzeuge"-menu, Alt+V (_View) opens "Ansicht" etc.

Shortscuts are added to the main menu here:
http://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/gui/MainMenu.java#L166

public final JMenu fileMenu = addMenu(marktr("File"), KeyEvent.VK_F, 0, ht("/Menu/File"));

I haven't found a quick way to populate those key events from the translated string.

comment:3 by skyper, 13 years ago

Owner: changed from framm to team

comment:4 by Don-vip, 11 years ago

Component: CoreCore shortcuts

comment:5 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

Fixed long ago.

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.