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

QComboBox behaves badly on OS X when clicking rapidly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 4.7.3
    • None
    • Mac OS X 10.6.7, Qt SDK 1.1 (64-bit). I think that means it's Qt 4.7.3
    • macOS

    Description

      On OS X it is possible to get a QComboBox into a state where no item is selected, even though it shouldn't be possible to do so. It appears reproducable in Qt Assistant, Qt Creator etc in a wide variety of different combo boxes so seems to be a bug in the class itself. To reproduce:

      Open (for eg) the Qt Assistant preferences dialog.
      Click once on the "Font settings" combo box, so that the "Browser, Application" popup menu is visible.
      Double-click on the "Browser" option in the popup menu.

      If the timing of your double-click is right, the menu will close but instead of "Browser" now being shown, the combo box is blank. See attached video (sorry about the format, freebie capture app only does swf!). It is dependent on the speed with which you double-click, so sometimes doesn't happen, but once you get the timing right it's 100% reproducible. For me it happens at pretty close to my normal double-click speed which is fairly fast.

      Doesn't seem to happen on Windows. Also doesn't happen in native NSPopupButtons.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            tomsci Tom Sutcliffe
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes