Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.6.0
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.