Summary: | 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 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-frameworkintegration | Reporter: | Raghavendra kamath <raghu> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | bugseforuns, bumblingkitty, halla, jjm, me, rjquiralte, simonandric5, someuniquename |
Priority: | NOR | ||
Version: | 5.22.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-integration/31ead90605238dfc67c3dac0eb9fd9fd7d072051 | Version Fixed In: | |
Sentry Crash Report: |
Description
Raghavendra kamath
2016-03-17 15:29:10 UTC
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. *** 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 |