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

ListView delegate Image overlap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • 5.3.1
    • 5.3.1
    • None
    • Linux archlinux 3.15.2-1-ARCH #1 SMP PREEMPT Fri Jun 27 07:41:19 CEST 2014 x86_64 GNU/Linux

    Description

      My QML code shown as below:

      ListView {                                                     
          model: xmlModel                                            
          anchors.fill: parent                                       
          delegate: Item {                                           
              width: parent.width; height: 95                        
                                                                                         
              Image { source: "../images/3index-content-bg.png" }
      }
      

      I use XmlListModel to parse a XML such as http://planet.qt-project.org/rss20.xml

      Then I use delegate Image to render the Item`s background, if scroll the listview up/downwards very quickly, when stop, the Item`s background Images overlapped such as http://leetcode.cn/drupal/sites/default/files/listview-buggy.png

      Attachments

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

        Activity

          People

            lesliezhai Leslie Zhai
            lesliezhai Leslie Zhai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes