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

If QML ComboBox is closed through a timer (visible = false), the open popup is not closed

XMLWordPrintable

    • ec0ad4ca9207acbc524a109ffbacb6cbb0fa18a8

      If QML ComboBox is closed through a timer (comboBox.visible = false) while the popup is open, the popup is not closed.

      This happens with both controls 1 and controls 2 popups.

      In controls 2 there is a workaround, setting focus = false in onVisibilityChanged slot of the ComboBox closes the popup. But this workaround doesn't work for controls 1.

      onVisibleChanged: {
          comboBox.focus = false
      }
      

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

            Unassigned Unassigned
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes