Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15.8
Description
fileDialog default title does not work with Qt5.15.8 which used to work with 5.15.6, Attached example shows this.
fileDialog.title = "default file name"
Title of the FileDialog is not the prefilled with given filename anymore. The file name is empty instead.
Tested on Android 9 and Android 11.
import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.0 import Qt.labs.platform 1.1 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Button { text: "File dialog" anchors.centerIn: parent onClicked: { fileDialog.title = "default file name" fileDialog.open() } } FileDialog { id: fileDialog fileMode: FileDialog.SaveFile } }