Unsolved FileDialog issue
-
Hi,
I am using filedialog, its working fine but when I am trying to open filedialog it was opening whole screen and open and cancel buttons were not coming.
I am trying it for linux .O.S details are as follows:
Linux zcu102_base_trd 4.9.0 #5 SMP aarch64 GNU/Linux
Can anyone please help me.
Thanks in advance -
@Apeksha ,
Please show the sample code.
-
@Vinod-Kuntoji
Button{
id:filebutt
FileDialog {
id: saveFileDialog
title: qsTr("Save to ...")
onRejected: {
console.log("Canceled")
}
onAccepted: {
console.log("File selected: " + fileUrl)
}
}
onClicked: {
saveFileDialog.open()
}
} -
@Apeksha
This is purely a speculative guess (and assuming your own code is not setting a "full screen" attribute on the dialog). TheQFileDialog
will be using the Linux/desktop manager native Open File Dialog. I have no idea whether it works this way under Linux, but is it possible that the last time you opened its File Dialog somewhere (even in another application) you full-sized it and it's remembering that last setting? -
@Apeksha ,
I tried your code in windows. It is working fine and file dialog is showing open and cancel buttons.
-
I windows it's working fine,i have said it's getting issue in Linux OS.
OS details as follows:
Linux zcu102_base_trd 4.9.0 #5 SMP aarch64 GNU/Linux -
Hi,
Can anyone please post custom file dialog source code?
Thanks in advance.
-
Hi,
Anyone please help me
thanks in advance
-
@Apeksha Can you post a screenshot of your issue?