Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13
-
None
-
-
196dcb8d095cc2b5ace5a55bc3c8a1055267c070 (qt/qtquickcontrols2/5.12)
Description
FileDialog { visible: false id: fileDialog title: "Choose a GeoJSON file" fileMode: FileDialog.OpenFile property var standardPicturesLocations: StandardPaths.standardLocations(StandardPaths.PicturesLocation) folder: standardPicturesLocations[standardPicturesLocations.length - 1] //dataPath Component.onCompleted: console.log(folder) onAccepted: { geoJsoner.load(fileDialog.fileUrl) } }
output:
QML debugging is enabled. Only use this in a safe environment. qml: file:///home/paolo/Pictures Threaded rendering is not optimal in the Mapbox GL plugin.
effect: see screenshot
Attachments
Issue Links
- relates to
-
QTBUG-34100 folder property of FileDialog not working to set startup path in Windows
- Closed
-
QTBUG-46283 Folder property of FileDialog not working to set startup path in Linux
- Closed