over write dialog is not shown when saving a file with preexisting file name. the file gets overwritten without alerting and data of existing file is lost. If you have by mistakenly clicked an existing file or have the same name as a existing file krita won't alert you for over write confirmation, instead it will just over write the file. this happens with both save and save as. Also to note is that this doesn't happen on windows or osx scottyp on IRC checked it and it behaved normally. Boud and I on linux, have encountered this bug Reproducible: Always Steps to Reproduce: 1.Open krita and create a new document, then save this document as test.kra at some location 2.Open a new document then hit ctrl + s to open the save dialog 3.Go to the destination of test.kra and click it , then hit save Actual Results: the new file is saved by overwriting the first file (test.kra) without user consent Expected Results: a over write confirmation dialog should be prompted to user before over writing anything
marking this confirmed as boud has confirmed it on IRC
Hm... I get the warning under gnome... Let me check KDE next.
Yes, looks like this is a specific issue with the plasma desktop integration :-(
Hi, Can you still reproduce this? With my current build on plasma5, I get the warning dialog.
No I still don't get a warning I am on latest plasma in arch linux
Right now I can reproduce this bug too on my system, fresh build of Krita, also on Archlinux with Plasma5.6.4 Qt 5.6
Confirmed with current Plasma 5 and Konsole. Its "Save Output As..." function, which uses a simple QFileDialog: QFileDialog* dialog = new QFileDialog(QApplication::activeWindow(), QString(), QDir::homePath()); dialog->setAcceptMode(QFileDialog::AcceptSave); will overwrite any existing file without prompting.
Okay, so this _is_ is a kf5 bug, not a krita bug.
https://git.reviewboard.kde.org/r/127944/
*** Bug 357863 has been marked as a duplicate of this bug. ***
Git commit 226401862f2c68f9bd37e95f6fae241b2d41e733 by Jonathan Marten. Committed on 05/06/2016 at 14:51. Pushed by marten into branch 'master'. Set KFileDialog overwrite option for saving to follow the Qt option Also updated test utility and autotests accordingly. REVIEW:127944 M +69 -0 autotests/kfiledialog_unittest.cpp M +2 -0 src/platformtheme/kdeplatformfiledialoghelper.cpp M +10 -0 tests/qfiledialogtest.cpp http://commits.kde.org/plasma-integration/226401862f2c68f9bd37e95f6fae241b2d41e733
Git commit 31ead90605238dfc67c3dac0eb9fd9fd7d072051 by Jonathan Marten. Committed on 05/06/2016 at 14:54. Pushed by marten into branch 'Plasma/5.6'. Set KFileDialog overwrite option for saving to follow the Qt option Also updated test utility and autotests accordingly. REVIEW:127944 M +69 -0 autotests/kfiledialog_unittest.cpp M +2 -0 src/platformtheme/kdeplatformfiledialoghelper.cpp M +10 -0 tests/qfiledialogtest.cpp http://commits.kde.org/plasma-integration/31ead90605238dfc67c3dac0eb9fd9fd7d072051
This bug has reappeared in 5.10.3, I can reproduce it in both kate and krita, let me know if this needs a new bug report.
*** Bug 381880 has been marked as a duplicate of this bug. ***
cannot reproduce with krita nor kate on Arch Linux, frameworks 5.45.
this seems to have been fixed in recent updates. thank you closing this now