[Qt4-preview-feedback] regression in input field with not latin layout
Rion
rion4ik at gmail.com
Sun Feb 1 12:08:18 CET 2009
Ok, I've found way how to reproduce it.
1) create simple dialog application
2) in main.cpp add next lines:
QTextCodec *codec = QTextCodec::codecForLocale();
if (codec) {
codec->toUnicode("hello", 5);
}
3) compile and run.
Code above is just example.
Qt itself uses QTextCodec::toUnicode quite often (for example when we
create QSettings).
> Hi!
>
> i have the same problem as described here
> http://lists.trolltech.com/pipermail/qt4-preview-feedback/2008-December/000264.html
>
> Qt installed from git repo yesterday.
>
> some notices:
> - bug also mentioned in qstardict, tora, kchmviewer(without kde)
> - i can't reproduce it on new applications (create one in qt-creator) and trolltech's apps (like qtconfig)
> - its independent what input fields are used and on what form they contains
> - i can copy and paste not latin text from another application and it works fine.
>
> I think something recodes key codes in key events on the fly and it
> depends on some global application settings.
> I tried to find what cause this problem in Psi (psi-im.org) but unsuccessfully
>
> PS seems snapshot-users mailing list doesn't work properly
>
>
>
More information about the Qt4-feedback
mailing list