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

The first delegated item when using Button from QtQuickControls 2 always missing its background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.9.5
    • 5.9.4
    • Quick: Controls 2
    • None

    Description

      With the current Qt 5.9.4, when using component from QtQuickControls 2, the delegated item is not correctly delegated.

      Simple use case:

      ListView {
          id: listView
      
          width: 50
          model: 3
      
          delegate: Button {
              width: listView.width
              height: 3
              text: "foo"
          }
      }
      

      with Qt 5.9.4 , the first delegated item won't have any background but the second and third one will have their background.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              bram_harimukti Bramastyo Harimukti Santoso
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes