Shortcut triggered when entering ASCII/Unicode characters in text edit mode
Summary:
When editing text and entering an ASCII or Unicode character using alt and the number pad, Inkscape shortcuts are triggered.
See microsoft.com
Steps to reproduce:
- open Inkscape
- create an object (any shape) and assign a color (not a shade of black)
- create a text object
- edit text object:
- add an en-dash
–by holding alt and entering 00150 on the number pad (-> colored object will be shown in grayscale) - press alt + 5 to toggle grayscale mode back to color (-> a
♣ will be added to the text and object is shown in color)
- add an en-dash
What happened?
The moment 5 is pressed together with the alt key, the viewing mode toggles to/from grayscale (default shortcut alt + 5).
What should have happened?
Shortcuts, in particular alt + numpad, should potentially be ignored while editing text.
Version info
Inkscape 1.2.1 (9c6d41e410, 2022-07-14)
GLib version: 2.72.2
GTK version: 3.24.34
glibmm version: 2.66.4
gtkmm version: 3.24.6
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.17.6
Pango version: 1.50.7
HarfBuzz version: 4.4.1
OS version: Windows 10 21H2