Review Request 120127: Don't show overwrite dialog if file name is empty

David Faure faure at kde.org
Sat Jan 23 10:37:05 GMT 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120127/#review91466
-----------------------------------------------------------


Ship it!




Ship It!

- David Faure


On Sept. 12, 2014, 8:09 a.m., Ignaz Forster wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120127/
> -----------------------------------------------------------
> 
> (Updated Sept. 12, 2014, 8:09 a.m.)
> 
> 
> Review request for kdelibs.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> Programs using KFileDialog's setConfirmOverwrite(true) (e.g. LibreOffice with KDE4 integration, Mozilla products with KDE4 integration, several components of the PIM suite) will trigger the following strange behaviour:
> If the file name in the save file dialog is empty and the user selects "Save", the dialog will ask if you want to overwrite the current directory (instead of just ignoring the empty input).
> 
> By moving the query below the directory checks the order is correct again, showing the overwrite confirmation dialog only if the field contains a unique filename.
> 
> Looking at the code this also affects Frameworks 5 / kio, though I haven't tested it yet.
> 
> 
> Diffs
> -----
> 
>   kfile/kfilewidget.cpp fc9b169 
> 
> Diff: https://git.reviewboard.kde.org/r/120127/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ignaz Forster
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20160123/2906a4ba/attachment.htm>


More information about the kde-core-devel mailing list