Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42074

ZWNJ character on Persian keyboard not working


    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.6.3, 5.9.0 Beta 2
    • Component/s: GUI: Text handling
    • Labels:
    • 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


          Issue Links

          For Gerrit Dashboard: QTBUG-42074
          # Subject Branch Project Status CR V



              • Assignee:
                esabraha Eskil Abrahamsen Blomfeldt
                thoffmann Tim Hoffmann
              • Votes:
                18 Vote for this issue
                19 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes