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

QComboBox - strange behavior after clear()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.10.0 Alpha
    • 4.7.2
    • None
    • Mac OSX 10.6.7 / Qt 4.7.2
    • 4ebc2cf74e557b65a8ce1dc518ca92f399ce89e8

    Description

      f I have a QComboBox that where I add 100 items in code, the aren't all displayed on screen and I see the arrows on the top and bottom of the popup (for navigating up and down the items).
      This is all as expected.

      If I know clear the QComboBox and add only a few items (even 1), the arrows are still displayed.
      If I populate the QComboBox directly with the few items, the arrows are not displayed.

      You can see it in the attached project.
      If you click 10 items, all is good.
      If you click 100 items, again all is good (with arrows displayed).
      If you click 10 items again, 9 items are visible and the arrows to show the other one.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            hsfougaris Harry Sfougaris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes