Shortcut using primary keyboard language instead of actual selected language
Summary:
Shortcut are not working as intended. I have multiple keyboards installed on my system, the main one is English but I use personnaly French for work. The physical keyboard has French layout. When I'm using Inkscape I found out that it's still responding to english layout (gnome Applet shows FR keyboard selected). It is really annoying because I'm used to french shortcut but a Ctrl+Z(undo) would become Ctrl+W (close document). As for text boxes, it does use the right layout depending the selected keyboard layout.
Steps to reproduce:
- use a system with main language english
- add a french keyboard as secondary keyboard layout
- make sure the french keyboard is selected (ex: gnome keyboard applet showing 'FR')
- open Inkscape
- add something to the document
- press Ctrl+Z (corresponding to Ctrl+W on US/EN keyboard)
What happened?
Responding shortcut : Closing Document (Ctrl+W)
What should have happened?
Responding shortcut : Undo (Ctrl+Z)
Debug info
Inkscape 1.1 (c68e22c387, 2021-05-23)
GLib version: 2.68.2
GTK version: 3.24.29
glibmm version: 2.64.2
gtkmm version: 3.24.2
libxml2 version: 2.9.10
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.48.5
HarfBuzz version: 2.7.2
Poppler version: 21.01.0
OS version: GNOME 40 (Flatpak runtime)
Distrib: Pop! OS 20.10