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

Input method hint ImhEmailCharactersOnly and ImhUrlCharactersOnly will still allow illegal characters in non-Latin locales on Symbian

    XMLWordPrintable

Details

    Description

      From mailing list:

      ---------------
      Expected Behavior: It should allow only email or URL characters (virtual keyboard) no matter whatever the
      written language.

      Current Behavior: It allows all the characters (with ITU-T or virtual key pad) if written language for
      example Arabic.

      Example Test: set the written language to Arabic in the emulator Settings->phone->language.
      open contacts, click on Options->new contact, try to enter some text in the First name, E-mail and web address fields.
      the difference is that, in the First name field able to enter Arabic characters from ITU-T keypad or virtual key board.
      in E-mail and web address fields, able to enter only email characters or URL characters (Latin characters) from
      ITU-T keypad or virtual key board even though written language is Arabic.
      --------------

      It should be easily reproducible with an application like this:

      QApplication app(argc, argv)
      QLineEdit lineedit;
      lineedit.setInputMethodHints(Qt::ImhEmailCharactersOnly);
      lineedit.show();
      return app.exec();
      

      Then set the language in the keyboard to Arabic and start typing. Only Latin characters should be allowed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            axisnokia axisnokia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes