Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.10, 6.5.3, 6.6.1
-
Windows 10 22H2, MSVC 2019 x64
-
8e734b2fc (dev), ddee70ac8 (6.7), 000e0ec51 (6.6), a976130b7 (tqtc/lts-6.5)
-
G&UI Finishing 2023
Description
Code
import QtQuick import QtQuick.Dialogs Window { width: 640 height: 480 visible: true FileDialog { id: dlg fileMode: FileDialog.SaveFile options: FileDialog.DontUseNativeDialog onAccepted: console.log("Selected", selectedFile) } Component.onCompleted: dlg.open() }
Steps to reproduce
- Run the code above
- Type a name into the "File name" field
- Double-click on an existing folder
Expected outcomes (Native dialog)
After Step #3, the "File name" field retains the name that you entered in Step #2.
Actual outcomes (Non-native dialog)
After Step #3, the "File name" field is cleared.