Maniphest T65532

can't remap Italian keyboard in keymap preferences
Closed, Resolved

Assigned To
Bastien Montagne (mont29)
Authored By
Ivan Cappiello (icappiello)
Jun 5 2019, 3:51 PM
Tags
  • BF Blender
  • Platform: macOS
Subscribers
Alessio Monti di Sopra (a.monti)
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
Campbell Barton (campbellbarton)
Francesco Siddi (fsiddi)
Ivan Cappiello (icappiello)
Simon Demeule (simondemeule)
2 More Subscribers

Description

System Information
Operating system: Darwin-18.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 570 OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.9.26

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-04 13:15, hash: rB5361fc2c3325
Worked: (never)

Short description of error
Using OSX and Italian keyboard some function are not available and is impossible to remap some keys since blender seems to reject their input in the keymap inputs.

Exact steps for others to reproduce the error
open blender on osx with Italian keyboard and try to activate the viewport pie menu. since the key "\" is Italian equivalent to tilde try to map that key in the keymap editor to replace the tilde. Blender will reject the input and ask again for a keystroke.

attached a sample of Italian keyboard. Other keys are not mappable. Search for brackets [ ] equivalent and so on.

Revisions and Commits

rB Blender
D12905

Event Timeline

Ivan Cappiello (icappiello) created this task.Jun 5 2019, 3:51 PM
Ivan Cappiello (icappiello) added a comment.Jun 5 2019, 3:55 PM

btw shouldn't be better to map basic keys like viewport pie menu to a key it's present in almost any language?

Ivan Cappiello (icappiello) added subscribers: William Reynish (billreynish), Francesco Siddi (fsiddi).Jun 5 2019, 4:11 PM
William Reynish (billreynish) added a comment.Jun 5 2019, 4:19 PM

Afaik this is already solved on X11. Here we can map shortcuts to physical keys, meaning we can ensure that we map the pie menu to the button to the left of the number row

Ivan Cappiello (icappiello) added a comment.Jun 5 2019, 4:36 PM

seems blender is not aware that button exists though. Attaching a video to show what happens.

Yevgeny Makarov (jenkm) added a subscriber: Yevgeny Makarov (jenkm).Jun 5 2019, 5:22 PM
Francesco Siddi (fsiddi) added a comment.Jun 6 2019, 1:04 AM

Side note: if a developer at the Blender HQ wants to test further on macOS, I have several Italian layout keyboards.

Yevgeny Makarov (jenkm) added a comment.Jun 6 2019, 8:53 AM

There are two types of apple keyboards "US" and "International".

In the case of the "International", the tilde/accent-grave key is located to the left of Z key, and it works.
To the left of 1 is an additional key, and it seems that this physical key does not work regardless of the language.

It is also not possible to bind non ANSI keys such as á ö ù, as I understand it.

Alessio Monti di Sopra (a.monti) added a subscriber: Alessio Monti di Sopra (a.monti).Jun 6 2019, 12:07 PM

I recently noticed that in the Italian layout, by default the view pie menu is mapped to ò and local view is mapped to ù, in the keyboard settings if you try to use those keys they figure as ` and / , respectively. You also can't use modifier keys with them.

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 80.Jun 13 2019, 6:20 PM
Sebastian Parborg (zeddb) added a project: Platform: macOS.
Ivan Cappiello (icappiello) added a comment.EditedJul 18 2019, 11:16 AM

seems to be the same as:
keyboard layout problems

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Jul 18 2019, 12:07 PM
Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) added subscribers: Campbell Barton (campbellbarton), Brecht Van Lommel (brecht), Bastien Montagne (mont29).

It is indeed similar issue as in T67130: keyboard layout problems., so… same answer. ;)

I think this should get an entry in the T63726: User Interface Module , but will let their owners (@Campbell Barton (campbellbarton)/@Brecht Van Lommel (brecht)/@William Reynish (billreynish)) decide about it.

In the mean while, since that’s not a bug, will archive the report, thanks.

Ivan Cappiello (icappiello) added a comment.Jul 18 2019, 12:16 PM

@Bastien Montagne (mont29) Then you should at least consider moving this new 2.8 minimal keymap on keys that are available on most keyboard layouts, or maybe create new hacks. In effect the view pie menu is completely unavailable and not remappable in any way in italian layout. And you may imagine the user experience you get if you switch to an US layout keeping your keyboard italian.

Bastien Montagne (mont29) added a comment.Jul 18 2019, 12:20 PM

@Ivan Cappiello (icappiello) I agree (and experienced similar issues on French keyboards since the beginning of my Blender usages ;) ). Just saying that this cannot be considered a bug, as it most likely requires a fair amount of work (including some design/research) to properly solve it… :/

Alessio Monti di Sopra (a.monti) added a comment.EditedJul 18 2019, 12:39 PM

@Bastien Montagne (mont29) do the code recognize the keyboard layout?
If so maybe a temporary "solution" could be to simply have a message in the keymap settings that warns about the special keys behaviour.

Simon Demeule (simondemeule) added a subscriber: Simon Demeule (simondemeule).Nov 12 2019, 12:07 AM

I'm also having the same issue with a French Canadian keyboard — Ù, È, É, À, Ç, ^, / are not recognized by Blender, and ~ does not exist on the keyboard, meaning it is impossible to access the pie menu.

Tor Lillqvist (tml) added a subscriber: Tor Lillqvist (tml).Oct 18 2021, 3:10 PM

Surely there its nothing Italian-specific in the problems in Blender's approach to keyboard handling. This bug should be retitled to something like "doesn't handle arbitrary keyboard keys on various non-English keyboards". Ideally the key handling should be based on arbitrary Unicode characters being input (plus the usual set of other keys that don't correspond to Unicode characters, like function keys).

Brecht Van Lommel (brecht) changed the task status from Archived to Resolved by committing rB6ef8c9e64614: Fix T65532: can't assign a key on Italian apple keyboards..Oct 21 2021, 1:12 PM
Brecht Van Lommel (brecht) added a commit: rB6ef8c9e64614: Fix T65532: can't assign a key on Italian apple keyboards..