https://bugs.kde.org/show_bug.cgi?id=357684

            Bug ID: 357684
           Summary: kfiledialog's getsavefilename defaults to no overwrite
                    confirmation, unlike qfiledialog
           Product: kdialog
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: br...@frogmouth.net
          Reporter: anntzer....@gmail.com

QFileDialog's getSaveFileName defaults to asking the user for confirmation when
an existing file is selected (as it will likely be overwritten)... except when
it delegates to the KDE5's native dialog, which defaults to no confirmation
asked.

Reproducible: Always

Steps to Reproduce:
1. check that `kfiledialog --getsavefilename .` or `python -c 'from
PyQt5.QtWidgets import *; app = QApplication([]);
QFileDialog.getSaveFileName()'` don't ask the user for confirmation when an
existing file is selected.
2. check that `python -c 'from PyQt5.QtWidgets import *; app =
QApplication([]);
QFileDialog.getSaveFileName(options=QFileDialog.DontUseNativeDialog)'` DOES
prompt the user for confirmation in such a case.

Actual Results:  
(see above)

Expected Results:  
KFileDialog should prompt for confirmation when the user selects a file for
overwriting.

I believe that under KDE4, confirmation was on by default.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to