Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.5.0
-
None
-
af0a53d89835baa86698b40ac845024ee49e71b1, 8feca74deda0abca0bc1787e18d227c2a3d578e7
Description
ShaderEffect does not display Image as-it-appears in the presence of custom fillModes. I assume this is due to internal optimizations (grabbing the texture from an Image directly)
The following example demonstrates the issue:
import QtQuick 2.0 Row { Image { id: logo width: 200; height: 100 source: "qt-logo.jpg" fillMode: Image.PreserveAspectCrop } ShaderEffect { width: 200; height: 100 property var source: logo } }
In this example, the Image and ShaderEffect version display differently, as shown in the attached screenshot. I would have expected them to display identically.