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

Editable QComboBox popup immediately closes itself after a click

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.7.0
    • None
    • Nokia N97 mini + Qt 4.7.0 Beta.
    • 8ed2b25f87bc632d0e7d375c3506fab1c59ca1a2

    Description

      If there is an editable QComboBox, tapping / pressing once on it, causes the popup list to flash quickly,
      as the popup is opened and then immediately closed.

      With this kind of example implementation it is easy to repro:

          QComboBox *comboBoxEditable = new QComboBox(this);
          comboBoxEditable->addItem("item1");
          comboBoxEditable->addItem("item2");
          comboBoxEditable->setStyleSheet(comboBoxStyle);
          comboBoxEditable->setEditable(true);
      

      If setEditable(true) is removed, the popup is opened and remains open.
      Also, if user keeps his finger down / keeps pressing the button, it is possible to navigate the popup itemlist.

      Attachments

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

        Activity

          People

            samimeri Sami Merila (Inactive)
            samimeri Sami Merila (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes