Keyboard shortcuts not working with Dvorak - QWERTY Command keyboard layout in macOS
GIMP version: 2.10.8
Operating System: macOS 10.14.3 (Mojave)
Package: DMG from gimp.org
Description of the bug
GIMP does not respect the "Dvorak - Qwerty Command" system keyboard layout with keyboard shortcuts involving the command key.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Set keyboard layout to "Dvorak - QWERTY Command" in System Preferences->Keyboard->Input Sources
- Open GIMP
- Create a new image with File->New...
- Stroke "Command + S" (that is, the location of "S" on the QWERTY keyboard, to the right of the "A" key) to save the image
Expected result:
The "Save Image" dialog should display.
Actual result:
The "Open Image" dialog displays.
Additional information
This happens because the location of the "S" key in the QWERTY layout maps to the "O" key in Dvorak. With a vanilla Dvorak layout, the behavior described above is correct.
However, the Dvorak - QWERTY Command layout switches to the QWERTY layout when the command key is held down, specifically for the reason to make hotkeys equivalent to the QWERTY layout. GIMP is not respecting this important piece of information, and simply uses the Dvorak layout regardless of what modifier keys are pressed.