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

QLineEdit emits editingFinished twice if focus is changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.2
    • None

    Description

      QLineEdit emits editingFinished twice if the focus is changed

      If a signal handler of QLineEdit::editingFinished changes focus, then the signal (editingFinished) is emitted twice.
      This can lead to nasty issues and is a change of behaviour.

      In Qt Design Studio this was triggered by showing an error dialog by certain inputs. The second signal will trigger the same dialog again. This is blocking the application on macOS.

      See: QTBUG-74554 for the same issue in Qt Quick .

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              brook_cronin_qt Brook Cronin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes