Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74505

[Linux] QLineEdit textEdited/textChanged signal is emitted recursively when calling clearFocus() from within textEdited() with Japanese IME

XMLWordPrintable

    • Linux/X11

      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)

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            akizawa Akihito Izawa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes