Priority: Not Evaluated
Affects Version/s: 5.7.0, 5.8.0 Beta
Fix Version/s: None
Component/s: GUI: Basic Input System (keyboard, mouse, touch)
For certain languages, the ZWNJ is an important character in text shaping. For example, the following text in Farsi has an ZWNJ:
For those locales, the U+200C character is often found bound to a key in the keyboard. However, when pressing it, nothing is inserted in text fields in Qt applications.
- Assign it to the Shift+Space combination. Run:xmodmap -e 'keycode 65 = space U200C
- Open a Qt application and select a text field
- Press Shift+Space
Nothing is inserted. Since this is a zero-width character, this can usually be seen by noticing if the text editor (like Qt Creator) adds a star indicating the file is modified: it doesn't.
qttools/src/qev shows the event is properly decoded: