-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.3.1
-
None
-
windows 7 ,vs 2008 .qt 5.3.1
steps:
1 create a project of qt deskapplication .
2 add q QWebView component WebView1 and a QLineEdit component LineEdit1.
3 Set WebView1->page()->setContentEditable(true);
4 run
5 switch a chinese input method such as microsoft pinyin .
6 select WebView1 ,press keyboard ,you will find the input method candidate window is in wrong postion. see attachment file :webview_inputmethod_wrong_candidate_window_position.png
7 select LineEdit1,press keyboard ,you will find the input method candidate window is in wrong postion like webView1,see attachment file:lineedit_inputmethod_wrong_candidate_window_position_first_input.png,
but if you input another string ,the candidate window will move to correct postion
8 change the LineEdit1 cursor position ,input chinese string ,the candidate window also at previous postion,see attachment file:.lineedit_inputmethod_wrong_candidate_window_position_change_cursor_position.png