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

ListView delegate Image overlap

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.3.1
    • Labels:
      None
    • Environment:
      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

            Assignee:
            lesliezhai Leslie Zhai
            Reporter:
            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