[Bug 35929] New: Delayed IM input inserts wrong text

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 5 10:00:48 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=35929

            Bug ID: 35929
           Summary: Delayed IM input inserts wrong text
           Product: Wine
           Version: 1.7.15
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: lilydjwg at gmail.com

Created attachment 47979
  --> http://bugs.winehq.org/attachment.cgi?id=47979
A simple PyQt program to make the issue easier to reproduce

I'm using fcitx. During text input with it, when a native application's GUI
hangs for a while (e.g being busy with something), text inputted meanwhile will
appear and get inserted after that. Users will only notice the delay but the
text is expected. But in Wine applications, in this case, text inserted will be
the last one repeated a certain times.

To demostrate, I've attached a simple PyQt program which has two items: one
text input entry and one button. When the button is clicked, the whole program
will just hang for five seconds. The procedure is as follows:

1. install python and coresponding PyQt. You can use the following two
Python: https://www.python.org/ftp/python/3.3.5/python-3.3.5.msi
PyQt:
http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10.4/PyQt4-4.10.4-gpl-Py3.3-Qt4.8.5-x32.exe
2. wine path/to/drive_c/Python33/python.exe ./delayedinput.py
3. focus the input entry, active the IM
4. click the button
5. before the program becomes responsive again, type any two or three Chinese
characters, e.g. a space g space. These should input two different Chinese
characters with Wubi or Pinyin
6. wait the program to resume, you'll see two same Chinese characters are there

You can repeat the same procedure with native Python and PyQt on Windows and
Linux, and you'll get two different Chinese characters there correctly.

I use PyQt because I don't write Win32 applications, but they suffer this issue
two. In fact I found this with Tencent Messager.

This happens with Wubi or Pinyin, not with keyboard IMs or Anthy. The
differences are, Wubi and Pinyin use space to commit input, keyboard IMs commit
on every key press, Anthy uses enter to commit.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list