Bug 357863

Summary: The QPA file dialog does not respect QFileDialog::setConfirmOverwrite(true)
Product: [Frameworks and Libraries] frameworks-frameworkintegration Reporter: Boudhayan Gupta <me>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***