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

QCompleter sets current completion with no user interaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.1
    • None

    Description

      Current completion in QCompleter is being set sporadically as there's any match to the user input in parent widget — even with no user interaction with QCompleter popup itself. The problem seems to be in qtbase/src/widgets/util/qcompleter.cpp:449, where curRow is forcefully set to 0 if any match was found.

      This issue leads not only to incorrect currentCompletion() return, but also to false-positive activated() signal firing which in turn usually leads to double activated() signal calling in parent widget.

      Attachments

        For Gerrit Dashboard: QTBUG-51858
        # Subject Branch Project Status CR V

        Activity

          People

            peppe Giuseppe D'Angelo
            achernov Alexey Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change