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

QCompleter unexpectedly changes QLineEdit text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.2, 5.11, 5.12.0
    • None
    • Tested on Windows XP + MSVC9

    Description

      Hi there,
      when using a QCompleter with a QLineEdit and when only control keys are used, the QCompleter may change the text of the QLineEdit. To reproduce the bug, follow those steps:

      • press tab
      • press shift-tab
      • press return

      Text will change to "AA". If you type something and follow the steps, the text won't be changed.

      Attachments

        1. completer.zip
          2 kB
        2. testQt.zip
          0.9 kB
        3. testQt5.zip
          0.8 kB
        For Gerrit Dashboard: QTBUG-20894
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            tc@4js.com Tristan Chabredier
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes