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

Painting bug in QML with Image.PreserveAspectCrop + Flickable

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Try the code below
      2. Wait for the image to be loaded
      3. Flick the flickable
      4. Observe that the right part of the image is incorrectly painted

      import QtQuick 1.0
      
      Rectangle {
          width: 300
          height: 300
      	color: "grey"
      	
      	Flickable {		
      		anchors.fill: parent
      		contentHeight: 400
      		Image {
      			height: 240; width: 240
      			fillMode: Image.PreserveAspectCrop
      			source: "http://static.flickr.com/1064/5124207976_6c98b2e00b_m.jpg"
      		}
      	}
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              bodson Yann Bodson (Inactive)
              gregschlom Gregory Schlomoff
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes