Summary: | Folder view trashes selected files when pressing Ctrl+d | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | g111 |
Component: | Desktop icons & Folder View widget | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.18.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=429403 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-integration/commit/b629b1d297b9758fe6207a45e960655cdf50bfd0 | Version Fixed In: | 5.18.6 |
Sentry Crash Report: |
Description
g111
2020-09-15 18:05:49 UTC
Can confirm, but not sure if this is intentional or a bug. Will investigate. FWIW the files aren't deleted, they're just moved to the trash. So it's undoable. Still annoying though. Ctrl+D isn't a standard shortcut for "Move to Trash" so it's probably local to Folder view somehow. I can't seem to find it. :( Found it, with help from Eike Hein.
Folder View has code to do this:
> Keys.onPressed: {
> event.accepted = true;
> if (event.matches(StandardKey.Delete)) {
StandardKey.Delete includes Ctrl+D as a shortcut.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-integration/-/merge_requests/6 Git commit 15c7926377065da0fea111be303816dca91d087a by Nate Graham. Committed on 15/09/2020 at 19:40. Pushed by ngraham into branch 'master'. Use KDE shortcuts for "move to trash" action coming from QStandardKey QKeySequence::Delete is the Qt "Move to trash" action, which, by default, includes Ctrl+D as a shortcut. This is something we don't want in KDE software, so we need to intercept this action in our integration plugin and give it the standard KDE shortcuts instead, as we do for other actions. FIXED-IN: 5.20 M +2 -0 src/platformtheme/kdeplatformtheme.cpp https://invent.kde.org/plasma/plasma-integration/commit/15c7926377065da0fea111be303816dca91d087a Git commit b629b1d297b9758fe6207a45e960655cdf50bfd0 by Nate Graham. Committed on 15/09/2020 at 21:06. Pushed by ngraham into branch 'Plasma/5.18'. Use KDE shortcuts for "move to trash" action coming from QStandardKey QKeySequence::Delete is the Qt "Move to trash" action, which, by default, includes Ctrl+D as a shortcut. This is something we don't want in KDE software, so we need to intercept this action in our integration plugin and give it the standard KDE shortcuts instead, as we do for other actions. FIXED-IN: 5.20 (cherry picked from commit 15c7926377065da0fea111be303816dca91d087a) M +2 -0 src/platformtheme/kdeplatformtheme.cpp https://invent.kde.org/plasma/plasma-integration/commit/b629b1d297b9758fe6207a45e960655cdf50bfd0 Thank you all! This was the fastest analyzing and resolving of an issue that I have reported yet! :) *** Bug 404619 has been marked as a duplicate of this bug. *** |