Bug 473539 - Double binding of Shift+Del shortcut with varying results
Summary: Double binding of Shift+Del shortcut with varying results
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-19 18:10 UTC by Matthias
Modified: 2023-12-05 08:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot 2 (175.75 KB, image/png)
2023-11-07 07:12 UTC, Matthias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2023-08-19 18:10:33 UTC
SUMMARY

Hi there. 

Cut (usually on Ctrl+X) and Delete File (usually Shift+Del) has, for some reason, the same shortcut. 
Cut has Shift + Del as alternative keybinding. 

If I try to delete a file (with Shift + Del) does it show up a message box, that does tell me about the conflict. 

I am aware, that this is the case for at least two other people, who are also on Arch. 
They do not experience the issue, and the system just prefers the delete function to the cut function. 

OBSERVED RESULT

I have to delete the alternative shortcut binding of "Cut" in order to use the "Delete" functionality. 
By default, I get an error about the ambiguity of the shortcut "Shift + Del" 


EXPECTED RESULT

Delete file when pressing Shift + Del

Operating System: Garuda Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: HP
Product Name: HP EliteBook 820 G3
Comment 1 Nate Graham 2023-08-22 21:53:34 UTC
What app are you using where you see this issue?
Comment 2 Matthias 2023-08-24 17:05:49 UTC
Hi, thanks for your response. Dolphin
Comment 3 Bug Janitor Service 2023-09-08 03:45:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Méven Car 2023-09-09 16:35:14 UTC
I have the same situation.

The Cut shortcuts are set by Qt itself in qplatfromtheme.cpp.

Not sure how to solve.
We would probably want to unbind the second cut shortcut when plasma starts the first time.
Comment 5 Matthias 2023-11-07 07:12:16 UTC
I think I can add to that issue, that Plasma indeed has some functionality, that circumvents the conflict of some double use of shortcuts. 
One way it is doing that, is by differentiating in which app window the shortcut is called. 

I ran into another issue, that shows that this functionality seems to be working, and another part of the logic is dysfunctional.
I have, on a relatively standard NixOS, observed the following behavior: 

Screenshot 2

This shows the Ctrl+Shift+S behavior not working out of the box, showing the same error as we saw it with Shift+Del before. 
In this case, no Shortcut besides the intended one is even configured with this binding. 

Funnily enough, looking into "Custom Shortcuts" it reveals that no such shortcut is set there as well. 
But removing all the ticks from the preset "KMenuEdit" and "Konqueror Gestures" solved the conflict. 

Note, that I reapplied those ticks afterwards, and saved it. Now, the conflict does not happen anymore.
Comment 6 Matthias 2023-11-07 07:12:45 UTC
Created attachment 162919 [details]
Screenshot 2
Comment 7 Akseli Lahtinen 2023-11-17 08:45:32 UTC
Can reproduce with following:

1. Open system settings -> shortcuts
2. Search shift+del
3. Both file and edit have same shortcut. Edit for cut, file for delete.

However, seems on dolphin side, only delete is used by this shortcut.

Still, not good, I think shift+del shouldnt be default shortcut for cut.

Dolphin:
Using kdesrc-build dolphin version: 24.01.75

System info:
Operating System: Fedora Linux 39
KDE Plasma Version: 5.81.0
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.5.11-300.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 8 Patrick Silva 2023-12-03 16:30:18 UTC
I have just noticed this bug with Dolphin 24.02 beta after resetting the keyboard shortcuts to default in Shortcuts KCM.

iOperating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland