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

QComboBox emitting activated() twice

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes