Thanks Giuseppe.
I've created a bug report, number QTBUG-63972.
I've stated in the report that this appears to only be an issue with
Linux (or at least Ubuntu). I tested using Windows and OSX and the
dialog always requests confirmation.
Thanks,
Dan.
On 23/10/17 10:48, Giuseppe D'Angelo wro
Il 22/10/2017 20:46, Dan Allen ha scritto:
Hi Guiseppe,
If that line was left out the dialog would return just "text" (i.e.
without the suffix).
Right, so we're back in Qt territory, with this option which might be
misleading. Please go ahead and file a bug report, so that the
discussion ca
Hi Guiseppe,
If that line was left out the dialog would return just "text" (i.e.
without the suffix).
Thanks,
Dan.
On 22/10/17 19:25, Giuseppe D'Angelo wrote:
Hi,
Il 21/10/2017 20:39, Dan Allen ha scritto:
fileDialog.setDefaultSuffix("txt");
Just wondering, what happens without thi
Hi,
Il 21/10/2017 20:39, Dan Allen ha scritto:
fileDialog.setDefaultSuffix("txt");
Just wondering, what happens without this line?
Cheers,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt,
Hi Guiseppe,
Here is a quick test case:
#include
#include
#include
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QString savePath = QDir::homePath();
savePath.append("/text.txt");
QFile saveFile(savePath);
if(!saveFile.exists())
{
saveFile.ope
Il 21/10/2017 18:45, Dan Allen ha scritto:
I don't know much about GTK directly. I had a quick look at the GTK
file chooser documentation and I couldn't see anything that suggests GTK
supports a default suffix. Therefore, would that suggest this is
probably a Qt issue (i.e. GTK considered it
Hi Guiseppe,
I don't know much about GTK directly. I had a quick look at the GTK
file chooser documentation and I couldn't see anything that suggests GTK
supports a default suffix. Therefore, would that suggest this is
probably a Qt issue (i.e. GTK considered it "text" against "text.txt"
an
Il 21/10/2017 11:33, Dan Allen ha scritto:
Hi Guiseppe,
I am using the native dialog. I've tested again after setting
QFileDialog::DontUseNativeDialog and this does not appear to have the
problem.
Then please submit a bug against GTK/Ubuntu :)
Cheers,
--
Giuseppe D'Angelo | giuseppe.dang..
Hi Guiseppe,
I am using the native dialog. I've tested again after setting
QFileDialog::DontUseNativeDialog and this does not appear to have the
problem.
Thanks,
Dan.
On 21/10/17 09:27, Giuseppe D'Angelo wrote:
Hi,
Il 21/10/2017 10:07, Dan Allen ha scritto:
Hi,
I'm currently working on
Hi,
Il 21/10/2017 10:07, Dan Allen ha scritto:
Hi,
I'm currently working on a save dialog for my application (currently
testing in Ubuntu). The dialog is in accept mode
QFileDialog::AcceptSave and a default suffix of "txt" is set.
I've noticed something that appears to be strange when the fil
Hi,
I'm currently working on a save dialog for my application (currently
testing in Ubuntu). The dialog is in accept mode
QFileDialog::AcceptSave and a default suffix of "txt" is set.
I've noticed something that appears to be strange when the file provided
exists as follows (assuming a file
11 matches
Mail list logo