Opened 6 years ago

Last modified 18 months ago

#15856 new defect

Numerical shortcuts don't work in AZERTY

Reported by: midgard Owned by: team
Priority: major Milestone:
Component: Core shortcuts Version:
Keywords: template_report keyboard layout AZERTY numeric shortcut Cc:


What steps will reproduce the problem?

Using an AZERTY keyboard layout:

  1. Open some layers.
  2. Press Shift+A to switch layers. (The small "activate the selected layer" popup appears in the bottom right corner.)
  3. Press a number (Shift + appropriate key) to switch to that layer. (Nothing happens.)
  4. Try omitting the Shift, to see if that works. (You're actually typing one of &é"'(§è!çà now.)


  1. Press Alt+number (Alt+Shift + appropriate key) to toggle visibility of a layer.
  2. Try omitting the Shift, to see if that works.

What is the expected result?

The layer is activated or visibility is toggled.

What happens instead?


Please provide any additional information below. Attach a screenshot if possible.

AZERTY is the standard keyboard layout in France and Belgium. To form numbers, you have to use Shift while pressing the same keys as on QWERTY. AZERTY is a pretty bad layout, but to date it remains widely used.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 en_GB) Linux Arch Linux
Java version: 1.8.0_144-b01, Oracle Corporation, OpenJDK 64-Bit Server VM

+ HouseNumberTaggingTool (33904)
+ Mapillary (v1.5.9)
+ SimplifyArea (33918)
+ apache-commons (33668)
+ apache-http (32699)
+ buildings_tools (33735)
+ contourmerge (1032)
+ ext_tools (33889)
+ geochat (33982)
+ reverter (33865)
+ tageditor (33806)
+ todo (30303)
+ turnlanes-tagging (260)
+ turnrestrictions (33780)
+ undelete (33980)
+ utilsplugin2 (33991)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Attachments (1)

activate-the-selected-layer-shortcut.png (8.1 KB ) - added by midgard 18 months ago.
Window that shows keyboard shortcuts per layer that pops up after a few seconds

Download all attachments as: .zip

Change History (6)

comment:1 by majkaz, 6 years ago

I am working with the Czech layout which has the same - the numbers are entered using Shift+ě = 1 for example.

The shortcuts work for me. You have to hold the Shift key all the time like this:

Activate layer 1: Shift Down -> A1 -> Shift up
Show/hide layer 1: Shift Down -> S1 -> Shift Up

comment:2 by anonymous, 4 years ago

"AZERTY is a pretty bad layout". Why ??
Because you have to press SHIFT (or use CAPSLOCK) to enter digits from the 1st row is not a real problem.

This concerns only the physical keyboard where pressing shift for entering common punctuation (parentheses, hyphens) and lowercase accented lowercase characters would be much worse. Adn on physical keyboards, you don't need to press shift to enter digits as you can as well use the numeric keypad (which is almost awlays present).

With touch keyboards (on mobiles), you already have to press a shift key to enter into numeric mode, but don't have to switch to enter the accented letters.

QWERTY/QWERTZ keyboards are more defectives in terms of usability. QWERTY works in English only because it does not requires non-Basic Latin letters as frequently.

The fact that AZERTY swaps a pairs of basic letters (AZ vs/QW) is not a significant problem and not a usability problem. The only problem of the basic AZERTY layout is the fact it still lacks some letters needed for French (notably the oe ligature, capital C with cedilla, and capital E with acute, where as some characters are present and can be typed easily even if they are not strictly needed or rarely used, like "²" on the 1st key of the top row or the "µ" symbol on the 3rd row, while some frequent punctuations are not so easy to type like "[square]" brackets).

Yes the AZERTY French and belgian layouts should have been updated since long, but no standard emerged for the necessary extension, and users have to load custom layouts, which are not preprinted on physical keys, and learn how to locate them. Users of QWERTZ layouts in Switzerland don't like it for entering French and prefer using the French AZERTY layout. French Canadians don't like the standard Canadian QWERTY (or US international) and many have tuned these layouts to use SHIFT for digits, and no shift for the alternate mapping of accented letters.

The same consideration applies to the Czech QWERTZ layout, that also maps digits with shift on the top row. A good old decision in my opinion from what was a decision only for old keyboards in US and UK (old models before the numeric keypad became universal).

comment:3 by Don-vip, 4 years ago

Philippe, please stop. The JOSM bugtracker is not meant to discuss in length the history of AZERTY layout.

comment:4 by simon04, 4 years ago

Keywords: keyboard layout AZERTY numeric shortcut added

by midgard, 18 months ago

Window that shows keyboard shortcuts per layer that pops up after a few seconds

comment:5 by midgard, 18 months ago

Activate layer 1: Shift Down -> A1 -> Shift up
Show/hide layer 1: Shift Down -> S1 -> Shift Up

For me this only works if I wait until the popup appears (see attachment above), so

Activate layer 1: Shift Down -> A -> wait 2 seconds -> 1 -> Shift up

This is not workable, I go to the button with the mouse but I'd like to use the keyboard.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to midgard.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

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