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

Qml ComboBox list jumps on open

XMLWordPrintable

    • Linux/X11
    • 64230bf97c18297f45bd5d7ccf99b510c8a612bd (qt/qtquickcontrols2/dev) 761dba8b23b7e558acc57b3e481648ce319a4397 (qt/qtquickcontrols2/5.15)

      The Qt Quick Controls 2 ComboBox list now jumps on creation on Qt 5.15.0.
      By jump, I mean that the list position changes just after apparition.
      I have a video to show the behavior, I will try to attach it to the ticket.

      I have tested it with the Qt Quick Controls 2 Gallery example by adding some more elements to trigger this behavior. The same application does not show this behavior on Qt 5.12.8.

      Changes in the Gallery example, ComboBox.qml:

      83c83
      <             editable: true
      ---
      >             editable: false
      88a89,92
      >                 ListElement { text: "Lemon" }
      >                 ListElement { text: "Orange" }
      >                 ListElement { text: "Peach" }
      >                 ListElement { text: "Strawberry" }
      
      

        1. combobox_gallery_qt_5.15.0.webm
          387 kB
          Romain Reignier
        2. combobox_qt_5.12.8.webm
          193 kB
          Romain Reignier
        3. combobox_qt_5.15.0.webm
          215 kB
          Romain Reignier
        For Gerrit Dashboard: QTBUG-84488
        # Subject Branch Project Status CR V

            andysh Andy Shaw
            rreignier Romain Reignier
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes