Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.12.1
-
Ubuntu 18.04
Description
If calls clearFocus() in QLineEdit's textEdited or textChanged slot what is signaled by input Japanese like 'あ', signal is emitted recursively then causes stack overflow.
void MainWindow::slot_TextEdited ( QString _q_str_Text )
{
if( q_lineedit_Edit->hasFocus() )
q_lineedit_Edit->clearFocus();
It doesn't cause if input English, also not reproduce on Windows.
Please check attached sample on Linux environment. (It needs to install Japanese IM for reproducing)