Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.4.1, 6.2
-
None
-
Mac OS X 10.10.3
-
-
5647af5a485067d20bf46fc716a3f2e9603c3d50 (qt/tqtc-qtbase/6.2)
Description
Qt application (e.g. Qt creator) could not handle key event properly with AquaSKK (https://github.com/codefirst/aquaskk), Japanese Input Method on MacOS X.
Steps to reproduce
1. Launch Qt creator and open some window to input text(e.g. new project)
2. Press Ctrl-J to enable Japanese input mode.
3. Press "a", and "あ" is inserted. (this is right)
4. Press "l" to disable Japanese input mode.
5. "l" is inserted. (this is wrong)
Cause(maybe)
AquaSKK uses some key to handle input method state, not insert text.
But only when some text inserted, m_sendKeyEvent becomes false. I think change doCommandBySelector to assign false to m_sendKeyEvent.
Attachments
For Gerrit Dashboard: QTBUG-46300 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
367362,2 | macOS: Assume input method handles key event | dev | qt/qtbase | Status: MERGED | +2 | 0 |
367436,4 | macOS: Assume input method handles key event | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |