Bug 357863 - The QPA file dialog does not respect QFileDialog::setConfirmOverwrite(true)
Summary: The QPA file dialog does not respect QFileDialog::setConfirmOverwrite(true)
Status: RESOLVED DUPLICATE of bug 360666
Alias: None
Product: frameworks-frameworkintegration
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-11 19:39 UTC by Boudhayan Gupta
Modified: 2016-05-30 03:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boudhayan Gupta 2016-01-11 19:39:38 UTC
QFileDialogs, when set up with AcceptMode = AcceptSave and FileMode = AnyFile, is supposed to ask for confirmation when overwriting a file. QFileDialog::setConfirmOverwrite(true) explicitly sets this behaviour.

The Qt QFileDialog (as obtained when setting QFileDialog::setOption(QFileDialog::DontUseNativeDialog)) respects this setting and asks for confirmation when overwriting a file. The KF5 file dialog **DOES NOT** ask for such confirmation.

Reproducible: Always
Comment 1 Christoph Feck 2016-05-30 03:13:16 UTC

*** This bug has been marked as a duplicate of bug 360666 ***