Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Invalid
-
Affects Version/s: 5.12.1
-
Fix Version/s: None
-
Component/s: Widgets: Widgets and Dialogs
-
Environment:Ubuntu 18.04
-
Platform/s:
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)