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

QComboBox emitting activated() twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.3.1
    • None
    • Linux and Windows. Most probably platform-independent.

    Description

      When using the popup menu of the QComboBox and pressing the Enter key, the QComboBox emits the activated signal twice. This is a regression from Qt 4.x where the signal was emitted only once.

      The attached simple PyQt script demonstrates the bug, run it, open the popup menu, press Enter, two numbers will be printed instead of the expected one.

      Attachments

        1. qtbug40807_combobox.zip
          0.9 kB
        2. test.py
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            kovid Kovid Goyal
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes