| Summary: | Dolphin and KIO confirmation settings are not in sync | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Алексей Шилин <rootlexx> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | elvis.angelaccio, kdelibs-bugs-null, mail, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kio/7d15dad5e427132758db178e45a6e4b7b5daeb0f | Version Fixed/Implemented In: | 5.48 |
| Sentry Crash Report: | |||
|
Description
Алексей Шилин
2017-10-08 13:41:01 UTC
(In reply to Алексей Шилин from comment #0) > There is a 'ConfirmTrash' configuration option which has different default > values in Dolphin and in KIO: the former defaults to asking for confirmation > when items are moved to trash, while the latter defaults to the opposite There is a typo: it should have been 'the former defaults to *not* asking for confirmation when items are moved to trash, while the latter defaults to the opposite'. Hey, and thanks for your detailed report! I can still reproduce this behavior with Dolphin 18.04.2, so the underlying issue still exists. There are IMO now two possible ways to deal with this: 1. Modify the default setting of KIO to be false. This is not very good from a new user standpoint because they might accidentally delete files without being aware of it or having consented to not showing the message. 2. Create the Dolphin config file at first startup. This sounds rather reasonable, but there might be technical problems with this solution that I am not aware of. Anyways, you've already done some great research! If you would like to go ahead and create a patch for this, we'd all be grateful :) Git commit 7d15dad5e427132758db178e45a6e4b7b5daeb0f by Алексей Шилин.
Committed on 09/07/2018 at 10:35.
Pushed by aleksejshilin into branch 'master'.
Don't show confirmation dialog for Trash action by default
Summary:
Dolphin and KIO default confirmation settings were not in sync: the former
defaults to not showing the dialog while the latter used to default to the
opposite.
This change resolves the inconsistency by adjusting KIO defaults.
FIXED-IN: 5.48
Test Plan:
1. Create a new user account and log into it.
2. Open Dolphin.
3. Create a text file and hit Del. The confirmation dialog should *not*
appear.
4. Check that permanent deletion (Shift+Del) and emptying the Trash still
show the confirmation dialog.
Reviewers: dfaure, #frameworks, #dolphin, ngraham
Reviewed By: dfaure, #dolphin, ngraham
Subscribers: ngraham, kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D13921
M +6 -3 src/widgets/jobuidelegate.cpp
https://commits.kde.org/kio/7d15dad5e427132758db178e45a6e4b7b5daeb0f
|