Priority: P2: Important
Affects Version/s: 5.3.1
Component/s: GUI: Text handling
Environment:Windows 7, OSX 10.9.5
Commits:7896ae052ad2c0c6ae2ebfc64cc2f525185198a8 (qtbase, 5.8), 97e4d5d5aeb0d415db18c075f905763ae5ba5f18 (qtdeclarative, 5.8), 551ee69d6ab42a3801ebbbed6c8c547dcbdcc43f (qtbase, 5.6), dc5efbfd03e00c075ff90a8366d341ee15f0b5be (qtdeclarative, 5.6)
It seems Qt does not detect ZWNJ characters on Persian keyboards.
Steps to reproduce:
1. Switch to Persian keyboard layout
2. Type a character, e.g. <g>
3. Type <Shift+Space> to input a ZWNJ (alternatively <Ctrl+B>)
4. Type a second character, e.g. <g>
Result: The two characters are joined. The ZWNJ is apparently missing.
Expected result: The two characters remain separate because there should be a ZWNJ in between.
This is not a problem of displaying. If I copy the character sequence into e.g. a QLineEdit, the result is correct. I suspect that Qt does not handle the input of the ZWNJ correctly.
Note: I'm not a Persian user myself. This is an upstream report from http://sourceforge.net/p/texstudio/bugs/1127/
See also here for the keyboard layout: http://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods/fa-kbd