Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.1
-
None
-
iOS 11.3
iPhone 7
Description
If the optimize iPhone storage option (settings -> photos -> optimize iPhone storage) is enabled and a picture is taken, such picture cannot be loaded in the QML image component using the following code. If the optimize iPhone storage option is disabled it works fine.
FileDialog
{ id: fileDialog title: "Select picture" folder: shortcuts.pictures onAccepted: image.source = fileDialog.fileUrl }Image {
id: image
anchors.fill: parent
autoTransform: true
fillMode: Image.PreserveAspectFit
MouseArea
{ anchors.fill: parent onClicked: fileDialog.open() }AppText
{ anchors.centerIn: parent text: qsTr("Click here") }}