Bug 394001 - Shift+Delete is assigned to two actions (Delete and Cut (Alternate))
Summary: Shift+Delete is assigned to two actions (Delete and Cut (Alternate))
Status: CONFIRMED
Alias: None
Product: frameworks-kconfig
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: usability
: 343660 395298 398697 414799 449025 473162 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-08 13:15 UTC by Ivar Erikson
Modified: 2023-12-04 21:28 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of default Shortcut settings (17.49 KB, image/png)
2018-05-08 13:15 UTC, Ivar Erikson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivar Erikson 2018-05-08 13:15:43 UTC
Created attachment 112500 [details]
screenshot of default Shortcut settings

By default, Shift+Delete shortcut is assigned to two different actions:
* Delete (Primary)
* Cut (Alternate)

System Settings > Shortcuts > Standard Shortcuts

Using the key combination, without first fixing it ofc, results in an error message "ambigious shortcut".

Shift+Delete is a well know combo for permanently deleting, i.e. bypassing the wastebin, a file and should be assigned only as such.

Proposed solution: Remove the assigned alternate shortcut from Cut, making Shift+Delete only set to Delete.


PS: Not sure about product/component for this. If better suited, I can take this to the phabricator site.
Comment 1 Ivar Erikson 2018-05-08 13:17:25 UTC
PS2: I can confirm it being present in Kubuntu 17.10 (Backports) and 18.04.
Comment 2 David Edmundson 2018-05-15 11:49:40 UTC
>PS2: I can confirm it being present in Kubuntu 17.10 (Backports) and 18.04.

I have no idea what software is in various downstreams. 
Can we have your Plasma versions?
Comment 3 David Edmundson 2018-05-15 11:56:21 UTC
unfortunately

shift + del
shift + insert 

to copy and paste is pretty common too

If it doesn't actually cause a problem, maybe we need to downgrade the error to a warning.
Comment 4 Ivar Erikson 2018-05-16 04:25:30 UTC
Plasma: 5.12.4
KDE Framework: 5.44.0

Alright, I wasn't aware of it being a common one for cut too. Might be due to my being used to it as Delete, from using Windows earlier.

But I'm farily certain that on earlier versions [of Plasma] (or at leas as shipped in Kubuntu <17.04) there was no such ambiguity, i.e. shit+del was *only* delete (as in bypass the bin).

It does pose a usability/UX problem imo. If you come to KDE expecting shift+del to have a function [in Dolphin], having a fairly common shortcut give you an error straight out of the box doesn't look good. And for an unexperienced user it might not be that easy to solve.

---

Okay, so I tested a bit. In Kate and Libreoffice, shift+delete does work as Cut (on text / cells), even though I've removed it from Cut in System Settings > Shortcuts > Standard Shortcuts, and assigned only as Delete. So even when reassigned to Delete, it still retains the Cut action while inside applications. Not sure if relevant, just wanted to mention it.
Comment 5 Christoph Feck 2018-06-13 10:19:33 UTC
*** Bug 395298 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-01-15 19:32:29 UTC
*** Bug 414799 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2020-01-15 19:34:00 UTC
I tried to fix this in https://phabricator.kde.org/D25720 but my patch was rejected. People didn't want to break anyone's workflow, and apparently the apps that have both actions already include exceptions for this.

It should be downgraded to a warning or just ignored I guess.
Comment 8 Nate Graham 2020-01-15 19:47:23 UTC
*** Bug 398697 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2020-08-14 16:09:07 UTC
*** Bug 343660 has been marked as a duplicate of this bug. ***
Comment 10 goo 2022-02-22 10:01:39 UTC
shift+delete within Dolphin still gives a warning telling the user that it is an ambiguos shortcut.
After deleting shift+delete from the "Cut" file action, shift+delete works for a bit, then the warning reappears.

I think that a decision has to be taken. Personally I never used shift+delete as "Cut" either in Windows or Linux. Only used it to delete files.

KDE Plasma 5.24.1
Fedora 35 x86_64
Comment 11 Patrick Silva 2023-12-03 16:37:24 UTC
duplicate of bug 473539
Comment 12 Patrick Silva 2023-12-03 16:39:08 UTC
*** Bug 449025 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2023-12-04 21:28:55 UTC
*** Bug 473162 has been marked as a duplicate of this bug. ***